It turns out persistReducer returns mutable object first level.
Example:
If we have reducer which return immutable object for example globalReducers: { test: { test2 } }
then your persistReducer return mutable object first level and i can change "test" property but test 2 property i can't change.
I think it is incorrect behaviour work with immer.
Maybe i wrong understand but with immer persistReducer return mutable object first level. If you have same issue maybe have workaround.
Hello everyone. Big thanks for the library. I found strange behaviour when we use with immer.
It turns out persistReducer returns mutable object first level.
Example:
If we have reducer which return immutable object for example globalReducers: { test: { test2 } } then your persistReducer return mutable object first level and i can change "test" property but test 2 property i can't change.
I think it is incorrect behaviour work with immer.
Maybe i wrong understand but with immer persistReducer return mutable object first level. If you have same issue maybe have workaround.