3 ms·
I'm a Redux maintainer, and I strongly agree with this post. I've been suggesting that people avoid using Immutable.js for years [0]. There's just not enough
by acemarke 7y ago
I'm a Redux maintainer, and I strongly agree with this post. I've been suggesting that people avoid using Immutable.js for years [0]. There's just not enough benefit.
Instead, we _do_ recommend that folks use the Immer library for immutable updates [1], preferably as part of our new official Redux Toolkit package [2].
[0] https://www.reddit.com/r/javascript/comments/4rcqpx/dan_abramov_redux_is_not_an_architecture_or/d51g4k4?context=3 https://www.reddit.com/r/javascript/comments/4rcqpx/dan_abra...
[1] 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...
[2] https://redux-toolkit.js.org https://redux-toolkit.js.org