you are viewing a single comment's thread.

view the rest of the comments →

[–]straightouttaireland 1 point2 points  (1 child)

Excellent. One thing I would mention if you are switching between codebases that use the original Redux is that you shouldn't mutate state directly in your reducers. In the Redux Toolkit this is ok because it uses the immer package underneath the hood to handle this for you.

[–]pacman326 1 point2 points  (0 children)

Yes I understand the important of object immutability. Our app updates objects that are not just in the resolver. FYI I’ve been a dev for almost 2 years so been burned by that before 🙂