Refactor reducers into a map of action type -> update function
Split the large switch statements in each reducer function into objects which map action types to state update functions. These functions are then composed together with a `createReducer` helper defined in `reducers/util`
Showing
Please register or sign in to comment