-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with redux-persist #38
Comments
Can you provide code replicating this error? |
FYI, latest redux-persist (6.0.0) is working with immer for me. They've updated it to no longer mutate the state directly and instead make a new object as suggested in this ticket: rt2zz/redux-persist#747 |
@yrral86 how you confirm that it's working correctly? |
@siarheipashkevich |
@yrral86 but in you case you can modify first level of the store directly. |
I don't know what you mean. I didn't provide any example code, so what do you mean by "in you case"? What are you trying to accomplish? |
@yrral86 can you please provide an example of code how you are using redux-persist? do you use code splitting for redux reducers? |
I'm trying to use
immer-reducer
withredux-persist
, which adds its own_persist
key to the state, but it fails with this error in the console.Any ideas how to make the two work nicely together?
The text was updated successfully, but these errors were encountered: