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
When I use redux-immutable in child reducers. The error always there.
My Code is like this:
import{combineReducers}from'redux-immutable'importfoofrom'./fooReducers'importbarfrom'./barReducers'import{getReducersFromOthers}from'./bazReducers'// It return an Object. and it works without combine child reducersletrootReducers={
foo,
bar
}rootReducers['others']=combineReducers(getReducersFromOthers())exportdefaultrootReducers// warning.js:14 Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.
I notice that redux.combineReducers and redux-immutable.combineReducers are returned different things.
I want to know is how can I use combineReducers with child reducers.
Sorry for my English. I hope you could understand what I said.
Thanks
The text was updated successfully, but these errors were encountered:
Hello, I am a beginner in redux and immutable.js
I found something weird with combineReducers.
When I use redux-immutable in child reducers. The error always there.
My Code is like this:
I notice that
redux.combineReducers
andredux-immutable.combineReducers
are returned different things.I want to know is how can I use
combineReducers
with child reducers.Sorry for my English. I hope you could understand what I said.
Thanks
The text was updated successfully, but these errors were encountered: