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

Suggestion: Adopt Ducks proposal for easier organization of reducers and actions #49

Closed
austinmao opened this issue Dec 20, 2016 · 2 comments

Comments

@austinmao
Copy link

austinmao commented Dec 20, 2016

See https://github.com/erikras/ducks-modular-redux
Counter example: https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/redux/modules/counter.js

I found this to be a much easier method of organizing reducers and actions. It also made it easier to share component actions with other developers since it was all centralized in one place.

@mattak
Copy link
Owner

mattak commented Dec 20, 2016

@austinmao
It seems nice rule!
I read the document and try to apply the ducks proposal to Example/{Counter,List}.

Would you check #50 is correct for ducks rule?

If the pull request is ok, I'll merge it!

mattak added a commit that referenced this issue Dec 21, 2016
#49 Suggestion: Adopt Ducks proposal for easier organization of reducers and actions
@mattak
Copy link
Owner

mattak commented Dec 21, 2016

#50 was merged!

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

No branches or pull requests

2 participants