redux-binder
Keep bound action creators.
Installation
npm i redux-binder -S
Usage
In initialization:
;;const store = ;;
In a component:
;;Component{return<button onClick= actionsmyAction >Click</button>;}
API
default
This object keeps bound action creators.
bindActionCreators(actionCreators, dispatch)
This function binds action creators, and put into the default
.
Actions in actionCreators
are ignored, and actionCreators.default
are also ignored for Ducks.
License
MIT