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

How do flux standard actions work with higher order reducers ? #37

Open
helmus opened this issue Oct 13, 2016 · 2 comments
Open

How do flux standard actions work with higher order reducers ? #37

helmus opened this issue Oct 13, 2016 · 2 comments
Labels

Comments

@helmus
Copy link

helmus commented Oct 13, 2016

In one example in the redux docs, higher order reducers are implemented with the help of a name property on the action to specialize the action to a given specific reducer.

http://redux.js.org/docs/recipes/reducers/ReusingReducerLogic.html

How is this supposed to work for FSA, since the actions are not allowed to have a name property ?

@cornedor
Copy link

You could store the name in meta.

@JaKXz JaKXz added the question label Jul 26, 2018
@mstruensee
Copy link

check out redux-higher-order-reducers and see that works for your use case(s). If not add comments 👍

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

4 participants