Closed therise3107 closed 7 years ago
perhaps the docs did not make this clear, but you should not need combineReducers that is handled by persistCombineReducers, so simply change reducers/index.js to be
import { combineReducers } from 'redux'
const initialReducer = (state = [], action) => return state
export default {
initialReducer
}
Open to suggestions for how to improve the docs around this.
Thank you @rt2zz. I'm closing this. Docs are fine just needs some more clarification on usage. I am just starting with redux-persist so I will gladly create PR's in coming days.
@rt2zz What if I want to clear all the stored data?
This is related to v5. Error file
Store.js
redcuers/index.js