-
Like your answer in #1306 (reply in thread), but I'm prototyping with |
Beta Was this translation helpful? Give feedback.
Answered by
gbj
Aug 22, 2023
Replies: 1 comment 6 replies
-
An example of what you're doing would be helpful here. All reactive nodes are now owned by the reactive node (effect or memo) that they're created inside, and will be disposed when it re-runs. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Conceptually, when you're using a reactive system like this one your whole application should be a set of nested effects, so mounting or unmounting a component should be managed by some kind of effect. Here's an example using some GUI pseudo-code:
In this case, what owns the signal and t…