Closed eyscode closed 8 years ago
The library didn't work when using enhancers like applyMiddleware, eg:
const createPersistentStore = compose( persistState(/*paths, config*/) )(createStore); const store = createPersistentStore( rootReducer, applyMiddleware(thunkMiddleware, loggerMiddleware) );
It happens because there is no enhancer parameter in the function returned by persistState.
Merged, thanks!
The library didn't work when using enhancers like applyMiddleware, eg:
It happens because there is no enhancer parameter in the function returned by persistState.