Have you ever tried immerjs for useReducer? It's an extra dependency but I feel it's made my Redux reducers much much more readable and manageable. (Destructuring can become a PITA with enough nested structures).
Btw, saludos desde El Salvador. :)
Hi, I heard of immer.js but I haven't tried it yet. I'll give it a chance in my next project, thanks for the info :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Have you ever tried immerjs for useReducer? It's an extra dependency but I feel it's made my Redux reducers much much more readable and manageable. (Destructuring can become a PITA with enough nested structures).
Btw, saludos desde El Salvador. :)
Hi, I heard of immer.js but I haven't tried it yet. I'll give it a chance in my next project, thanks for the info :)