ducks-modular-redux
A proposal for bundling reducers, action types and actions when using Redux
About this project
Ducks: Redux Reducer Bundles I find as I am building my redux app, one piece of functionality at a time, I keep needing to add {actionTypes, actions, reducer} tuples for each use case. I have been keeping these in separate files and even separate folders, however 95% of the time, it's only one reducer/actions pair that ever needs their associated actions. To me, it makes more sense for these pieces to be bundled together in an isolated module that is self contained, and can even be packaged easily into a library. The Proposal Example See also: Common JS Example. Rules A module... 1. MUST export default a function called reducer() 2. MUST export its action creators as…
Technologies
Project health
GitHub
Reviews
Built by
Maintain erikras/ducks-modular-redux? Claiming verifies admin access through your GitHub account and gives you control of this listing.

