3 ms·
FWIW, with modern Redux Toolkit you _don't_ write handwritten nested immutable update logic - you write normal "mutating" code in a reducer and it becomes an im
by acemarke 2y ago
FWIW, with modern Redux Toolkit you _don't_ write handwritten nested immutable update logic - you write normal "mutating" code in a reducer and it becomes an immutable update thanks to the Immer library:
- https://redux.js.org/tutorials/essentials/part-2-app-structure#reducers-and-immutable-updates https://redux.js.org/tutorials/essentials/part-2-app-structu...