Open nk2580 opened 6 years ago
Did anyone find a solution for this? I'm experiencing the same issue
Same issue. This has been here a while - is this project even maintained anymore?
I removed this dependency from my project and used an alternative approach for the localStorage.
const savedState = loadState();
export const store = createStore(rootReducer, savedState, composeWithDevTools());
store.subscribe(() => {
saveState(store.getState());
` });
looks like the pattern of this library violates the Middleware spec for Redux now when you have state stored locally.
perhaps there needs to be a solution the the on load method implemented in a thunk? or something of that sort?