[✨] Need destroy hook.
#145
mhevery
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
Today you can call
cleanupto release resources specific to the VM. But what if the component needs to notify a parent component that it is being returned? In such a case there is no hook which can survive resuming.Example:
The issue is that the cleanup gets called during serialization on the server, which releases the children from the parents. What we want instead is to call "cleanup" when the component is destroyed.
that
Describe the solution you'd like
Proposed solution
Describe alternatives you've considered
HACK
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions