Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bindActionCreators(functionList, dispach){
- let result = {}
- for(f in functionList) {
- result[f.name] = (params) => { dispach(f.call(params)) }
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement