Open rochijacob opened 1 year ago
Same problem here. I'm getting an old state from rehydration. (Note: I'm not getting initial state; I'm getting some old state. New changes to the state are not persisted.)
Same problem here.
I am reseting persisted state when user logout. And after login my redux state updates, but after i refresh the app state is not persisted.
Steps:
+1
Same issue
Same issue here
I am changing some things in the reducer yet the changes are not visible. The previous reducer persists. Eventhough I reset my application my changes to the reducer never apply.
This is mi store.js, where I set the redux persist configuration:
and this is an example of a store:
I am changing the version in the
persistConfig
(as this was an error I had in a previous proyect) yet there is no change at all. I am thinking maybe I am missing some import or importing something wrongly. Asi this EXACT configuration works perfectly in another proyect (maybe because I had a lower version of redux-persist)