We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking at the example in the package:
SubAction subAction -> -- let (newSub, newSubEffects) = subActionUpdate subAction model.sub -- in (\sub -> { model | sub = newSub }) (Effects.map SubAction newSubEffects) subActionUpdate subAction model.sub |> mapBoth (\sub -> { model | sub = sub }) SubAction
this could save some code duplication in App.Update and in general be a nice addition :)
(cc @etaque)
The text was updated successfully, but these errors were encountered:
Oh, actually it seems that we always pass a different context to sub components or re-build the effects
context
effects
Maybe we could use it on simpler sub-components. If not, then we'll sure use it in other projects ;)
Sorry, something went wrong.
👍
No branches or pull requests
Looking at the example in the package:
this could save some code duplication in App.Update and in general be a nice addition :)
(cc @etaque)
The text was updated successfully, but these errors were encountered: