redux-utilities / flux-standard-action

A human-friendly standard for Flux action objects.
MIT License
4.75k stars 142 forks source link

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

Open helmus opened 8 years ago

helmus commented 8 years ago

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 commented 7 years ago

You could store the name in meta.

mstruensee commented 5 years ago

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