I have two reducers (myReducer1 and myReducer2). Each of them works fine individually. However, I got the following error when I use combineReducers() to put both into rootReducer:
Error: Reducer "myReducer/myReducer2" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.