Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const createReducer = (initialState, handlers) => (state = initialState, action) =>
- action.type in handlers ? handlers[action.type](state, action) : state;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement