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
update::Fn2IdString (Redux.ActionAction)
update = mkFn2 action
where action id title = createAction $ Update id title
clearComplete::Fn0 (Redux.ActionAction)
clearComplete = mkFn0 action
where action _ = createAction ClearComplete
Having to use uncurried functions like this stinks. Not sure how to solve without middleware, though. Curried functions essentially dispatch a function to the store instead of an action. We could probably use something like thunk to work around this, but that sounds messy and awful. There's got to be a better way.
The text was updated successfully, but these errors were encountered:
For example:
Having to use uncurried functions like this stinks. Not sure how to solve without middleware, though. Curried functions essentially dispatch a function to the store instead of an action. We could probably use something like thunk to work around this, but that sounds messy and awful. There's got to be a better way.
The text was updated successfully, but these errors were encountered: