Should we drop immutable records for flow

(Chris Malherbe) #1

I would like to ask a general question here about immutable and flow.

We have started to implement flow on our server side and enjoy the compile time checking a lot.

In our code base, we have redux and immutable and use records quite a bit. I have found the support for immutable and flow quite weak. And the type checking and immutability checks only work at runtime.

Another point is that some members of our team slightly miss uses immutable, things like toJS(). Proptypes are also not sticked to often, I feel that flow can solve both those issues.

Removing immutable will be a bit of work to get going.

Could you give your advise on wether we should proceed with just flow + redux or keep immutable?