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 should either revise that bit of the docs or attach send to app.
I found this writing some alternate link-catching code and wanted to send an action to update the state with the new location.
I was doing this just in an onclick event listener, but I could do it in a subscription, and that's probably the recommended approach, rather than needing app.send.
The text was updated successfully, but these errors were encountered:
Hah yeah, the docs should be updated on that one; I'd rather not expose send() and state outside the application boundries, as it enables behavior that would break the pattern - going with subscriptions is def recommended here ✨
In the readme the effects description implies that the
app.send()
method exists: https://github.com/yoshuawuyts/choo#appmodelobjWe should either revise that bit of the docs or attach
send
toapp
.I found this writing some alternate link-catching code and wanted to send an action to update the state with the new location.
I was doing this just in an onclick event listener, but I could do it in a subscription, and that's probably the recommended approach, rather than needing
app.send
.The text was updated successfully, but these errors were encountered: