Closed LopatkinEvgeniy closed 8 years ago
@LopatkinEvgeniy I prefer to set default action like in your example above. Redux dispatches INIT action when app starts. Since we don't rely on that action and call reducer manually to calculate initial state for multireducer - here your bug comes in. Will fix that.
I have some reducer:
When i use it with multireducer there is error because action is undefined when multireducer initialize; To fix it i write that:
or that: