Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const actionCreatorGenerator = (name, actionCreators, params) =>
- Object.keys(actionCreators).reduce((result, key) => {
- result[key] = actionCreators[key](name, params);
- return result;
- }, {});
Add Comment
Please, Sign In to add comment