redux-actions-hub
Share Redux Actions between modules
Installation
npm i --save redux-actions-hub
Usage
Actions
; // Auto generate action creatorActions; // Action creatorActions; // With middlewareActions;Actions;Actions;
dispatch
; // Dispatch;;
API
- add(type, actionCreator) Add new action creator to hub
- remove(type) Remove action creator from hub
- replace(type, actionCreator) Replace action creator from hub with new action creator
- reset() Reset actions data