modular-redux-thunk icon indicating copy to clipboard operation
modular-redux-thunk copied to clipboard

Suggestion: `actions` property of a module is optional

Open dallonf opened this issue 9 years ago • 0 comments

Some module's reducers only respond to global or higher-level actions, and don't have any actions of their own. It would be nice to not have to specify an actions: {} property in this case.

Probably want to leave selectors as required. On one hand, sometimes it's similarly useful to only expose a value within a higher-level selector - but this is an uncommon enough case that selectors: {} isn't annoying and highlights the unusual thing happening.

dallonf avatar Sep 15 '16 15:09 dallonf