You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I’m wondering if you have a suggestion around handling the use-case where there is a change in the format of the reducer? Development is heavy on my project right now and there are occasional changes to reducers. This often causes a conflict when the store is rehydrated using the localStorage state.
Example:
When changing the reducer’s initialState from this:
Hi! I’m wondering if you have a suggestion around handling the use-case where there is a change in the format of the reducer? Development is heavy on my project right now and there are occasional changes to reducers. This often causes a conflict when the store is rehydrated using the
localStorage
state.Example:
When changing the reducer’s initialState from this:
… to this:
I get the error
“Cannot read property 'value' of undefined”
when loading the page.In this particular case where the app reducer format is different from the format in
localStorage
I would like to overwrite the local version.Is this possible?
The text was updated successfully, but these errors were encountered: