New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nested combineReducers #22
Comments
Met the same issue too. When nesting |
Does anyone want to practise their PR skills? |
I'm happy to send a PR. Should be able to get something together today. |
v3.0.6 has been published |
thanks @gajus! |
I'm having some trouble getting this library to work with my existing redux reducers. I believe the problem is that I am nesting multiple
combineReducers
calls in my root reducer.So for a simplified example I have the following files:
When it tries to set the initial state of the complex reducer, it is passed in an undefined value from the root reducer and gives this error:
and then fails on the
withMutations
call here becauseinputState
is undefined.This pattern is supported by redux (see reduxjs/redux#738). Is this possible in redux-immutable? Sorry if I am missing something obvious - am fairly new to the redux ecosystem.
The text was updated successfully, but these errors were encountered: