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
In the example described as part of API doc of "combineReducers", at the time of the store creation, "reducer" as a parameter is passed on to createStore in the file "app.js" (let store = createStore(reducer)).
However in "reducers/index.js", the function name is "combineReducers" and not "reducer" (export default combineReducers({..})).
So shouldn't the parameter pass on at the creation of the store be "combineReducers" (Eg: let store = createStore(combineReducers)) ??