-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Add “Combining reducers” recipe #1018
Comments
I'll take a crack at this over the weekend, if no one is currently writing this. |
Started working on this over weekend, will probably take me at least two weeks due to my heavy academic workload. I'll report back when I have something of more substance. |
@gaearon I can write this. Which file should I update in the docs with the contents? |
@IwanKaramazow , @sai-prasanna : I'm looking at trying to put together a more comprehensive doc on organizing reducer logic. See #1784. Would appreciate any thoughts, comments, or help :) |
Closing out in favor of the efforts Mark is championing over at #1930. |
Anybody wants to write this?
It should explain:
combineReducers()
, and you can write top-level reducer by handcombineReducers()
multiple times, like inshopping-cart
examplecombineReducer()
doesn't have to be top level reducer. You can tweak how it works, e.g. Add store.resetState for reverting to initial state value #658 (comment)The text was updated successfully, but these errors were encountered: