Open carlgieringer opened 2 years ago
Currently we have both:
handleActions<EditorState, any, {requestPayload?: any}>
If we adopt Redux's reducer slice pattern, we will both remove the duplication and get precise typing in the reducers.
We should also remove use of AnyAction.
AnyAction
How to convert to a slice:
Currently we have both:
handleActions<EditorState, any, {requestPayload?: any}>
) in at least our editor reducer maps.If we adopt Redux's reducer slice pattern, we will both remove the duplication and get precise typing in the reducers.
We should also remove use of
AnyAction
.