Skip to content
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

Closed
gaearon opened this issue Nov 9, 2015 · 5 comments
Closed

Add “Combining reducers” recipe #1018

gaearon opened this issue Nov 9, 2015 · 5 comments
Labels

Comments

@gaearon
Copy link
Contributor

gaearon commented Nov 9, 2015

Anybody wants to write this?

It should explain:

  1. You don't have to use combineReducers(), and you can write top-level reducer by hand
  2. If you like it, you can use combineReducers() multiple times, like in shopping-cart example
  3. The result of combineReducer() 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)
@gaearon gaearon added the docs label Nov 9, 2015
@IwanKaramazow
Copy link

I'll take a crack at this over the weekend, if no one is currently writing this.

@IwanKaramazow
Copy link

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.

@sai-prasanna
Copy link

@gaearon I can write this. Which file should I update in the docs with the contents?

@markerikson
Copy link
Contributor

@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 :)

@timdorr
Copy link
Member

timdorr commented Sep 8, 2016

Closing out in favor of the efforts Mark is championing over at #1930.

@timdorr timdorr closed this as completed Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants