-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common reducers formulas #162
Comments
We need to popularize the idea of higher-order reducers. These are reducers that take your existing reducers, but amend them with some stock functionality (pagination, todo/redo, etc). Like HOCs, but for reducers :-) |
Sounds like a plan! :) On Wed, 24 Jun 2015 14:38 Dan Abramov [email protected] wrote:
|
Oh wait.. These are transducers aren't they |
Closing in favor of #176 |
Now that reducers are only functions, I wonder if we could abstract certain patterns to do some common reducing operation (say, CRUD (well the R would be a getter :P)) and create a repo, wiki, (generator?) or something that would contain (and explain) them so that we don't have to reinvent the wheel every time :). It could be as specific or vague as one would want it to be, i.e., it could include any of the following: a reducer, actions, (containers), etc. with their tests.
If there's enough interest I can start drafting some...
The text was updated successfully, but these errors were encountered: