Closed neurosnap closed 5 years ago
This allows immer to be optional in reducers. For simple reducers, it is pointless to use immer since they are simple sets, add, etc. Furthermore, mapSlice doesn't need immer and could create unnecessary overhead.
immer
mapSlice
This allows
immer
to be optional in reducers. For simple reducers, it is pointless to useimmer
since they are simple sets, add, etc. Furthermore,mapSlice
doesn't needimmer
and could create unnecessary overhead.