My Redux state is a multi-level tree. Is there a way for me to whitelist just key A.X instead of the entirety of A?
Yes I also have a multi-level tree like
entities: {
users: {},
posts: {},
typing:{},
...
},
requests: {...}
How can I just blacklist entities.typing?
+1
Currently there are three ways to achieve this:
Best solution I think depends on the specifics of your app.
Yeah I think im going to go with the filter. Thanks
is there some example of custom REHYDRATE hadnler?
@FilipMessa It's as simple as just handling REHYDRATE action in ur reducer which you can import from 'redux-persist/constants'
This hasn't been responded to in a long while, so I'm going to mark it as stale. Please feel free to continue the conversation and I'll reopen.
Most helpful comment
Currently there are three ways to achieve this:
Best solution I think depends on the specifics of your app.