-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Lines 200 to 203 in bf2e489
| AppState reducer<T extends IsAction>(AppState state, T action) { | |
| state = state.clone(); | |
| state = action.handle(state); | |
| return state; |
Those three lines could be refactored in one line:
return action.handle(state.clone());
Reactions are currently unavailable