You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have IdentifiedActionOf which is closely related to the definition by Reducer. This is often used in combination with Reducer.Action and Reducer.State: Identifiable. Currently, the type used in Action can be passed directly from the Reducer, while the type used in State is a bit more specific: an array of Reducer.State. It seems worthwhile to introduce a helper to help a little bit of cognition when considering combining Reducer.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have
IdentifiedActionOf
which is closely related to the definition by Reducer. This is often used in combination withReducer.Action
andReducer.State: Identifiable
. Currently, the type used in Action can be passed directly from the Reducer, while the type used in State is a bit more specific: an array of Reducer.State. It seems worthwhile to introduce a helper to help a little bit of cognition when considering combining Reducer.example: Example/Todos
For existing Action definitions...
Helpers worth introducing are...
In that case...
Beta Was this translation helpful? Give feedback.
All reactions