3 ms·
> Can we try combine the actions, types, and reducers into a single domain so they aren’t seemingly repeated in 3-4 different locations. This is what the "duck
by ng12 7y ago
> Can we try combine the actions, types, and reducers into a single domain so they aren’t seemingly repeated in 3-4 different locations.
This is what the "duck" pattern is for:
https://github.com/erikras/ducks-modular-redux https://github.com/erikras/ducks-modular-redux
- ddoolin 7y ago+1, this is what we do in many of our tens-of-thousands of LoC codebases where I work and it works out great. I can't think of a single downside since we switched, actually.