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
Hi there, really nice idea to port the elm(ish) architecture to react hooks. It seems like a very nice approach!
Perhaps there's a way of working around but the effects don't seem to cancel on unmount. For example if I copy and paste the tick tock example into a component and then navigate to cause a component unmount it causes an error (in react dev mode).
The text was updated successfully, but these errors were encountered:
Hi @allforabit. Cancellation of effects is an interesting one.
I'd be open to suggestions on how to achieve this in a way that still makes defining effects simple and is at least somewhat backwards compatible with the current way of doing things.
Hi there, really nice idea to port the elm(ish) architecture to react hooks. It seems like a very nice approach!
Perhaps there's a way of working around but the effects don't seem to cancel on unmount. For example if I copy and paste the tick tock example into a component and then navigate to cause a component unmount it causes an error (in react dev mode).
The text was updated successfully, but these errors were encountered: