Closed asaf closed 9 years ago
Hey,
According to the spec, it seems like a reducer such below should work,
let reducers = { users: { foo: { CONSTRUCT: () => {return Immutable.List()} } }, bar: { CONSTRUCT: () => {return Immutable.List()} } }
Apparently, it fails on Reducer definition object action handler names must be valid action names on the 'foo' part,
Reducer definition object action handler names must be valid action names
What's the right syntax for having nested domains ?
Thanks.
Wrong repo
This refers to https://github.com/gajus/canonical-reducer-composition/issues/5.
Hey,
According to the spec, it seems like a reducer such below should work,
Apparently, it fails on
Reducer definition object action handler names must be valid action names
on the 'foo' part,What's the right syntax for having nested domains ?
Thanks.