Closed HorseBinky closed 7 years ago
Hello, I'm working on a new version of multireducer
, could you try the new version and see if the problem still exists?
I am having a similar problem and it still exists after using multireducer v3.0.0. Empty objects are being passed as actions to the multireducer reducers but seems to be passed appropriately to non-multireducer reducers. However, multireducer works if I'm not using reduxAsyncConnect
and promises so it can be from the way that is set up.
Nevermind, it turns out dispatch needed a multireducer key, and I did it using wrapDispatch
.
Greetings!
First of all the multireducer lib is exactly what I'am looking for to reuse some of my containers. But after I included the multireducer and adapted our code to your examples, the actions became undefined. I use React-redux 4.4.2, Redux 3.5.2 and React 15. The problem appears during the LOCATION_CHANGE.action while loding the page. It seems that the system crash inside the combineReducer where the multireducer is included. Here is an example of my code:
Reducers:
action:
reducer:
Thanks for your help!!