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
You'll need to create a schema to represent what valid state looks like
handle SERIALIZE action in reducer to return a plain js object to persist
handle DESERIALIZE action in reducer. If state is valid, return state and initialize with immutable js if needed. If data is invalid, return the default initial state.
return isValidStateWithSchema( state, schema ) ? state : defaultState;
Tests for serialize, deserialize, and invalid data cases
Implement persistence for state/ui:
See: #2754
The text was updated successfully, but these errors were encountered: