|
|
|
|
|
by babbeloski
3656 days ago
|
|
At work I've started keeping the reducer in the actions file, anyone else do that? This way they can share the same const declarations, and you don't have to toggle between two files when most actions / reducers are pretty small. |
|
The potential reason not to do that is that more than a reducer may listen for a given action, even though I guess it's more an exception than the norm.