Open inv2004 opened 6 years ago
for one thing, persistCombineReducers needs to take two arguments persistCombineReducers(persistConfig, {a, b})
I just checked my change:
const reducer = persistCombineReducers(config, reducers)
So, I had two arguments for it.
updated initial issue.
Hello, I just decided to update to v5 and found strange behavior: v4 - everything is perfect. v5 - connected component receives state of another combined reducer. for example:
and Component receives this.props.a which can be 1 or 'aaa'.
If I replace persistCombineReducers with combineReducers => then everything is ok.
more code:
this.props.categories is null sometimes.