Now I have to change all my Redux reducers!
Edit: I was using Immutable.js as a stand-in for immutable data structures in general; apparently there are other JS libraries you can use
Instead, I highly recommend the Immer library [1], which lets you do immutable updates with "mutating" logic in callbacks.
Even better, try out our new Redux Starter Kit package. It uses Immer internally to let you simplify immutable updates in your reducers [2].
[0] https://www.reddit.com/r/javascript/comments/4rcqpx/dan_abra...