3 ms·
We also recommend using Immer with Redux [0], and it's used internally in our new Redux Toolkit package [1]. [0] https://redux.js.org/style-guide/style-guide#u
by acemarke 7y ago
We also recommend using Immer with Redux [0], and it's used internally in our new Redux Toolkit package [1].
[0] https://redux.js.org/style-guide/style-guide#use-immer-for-writing-immutable-updates https://redux.js.org/style-guide/style-guide#use-immer-for-w...
[1] https://redux-toolkit.js.org/ https://redux-toolkit.js.org/
- tekkk 7y agoNice, thanks to both of you for the tip. I always hated ImmutableJS's clunky API which is partly the reason why I switched from Redux to Mobx as the object assigning felt otherwise so icky. I have to check out if Immer is any better =).