-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Describe the bug
If a component is unmounted, any $derived
variable will unexpectedly change to Symbol()
.
This is only an issue when a $derived
variable is accessed asynchronously after the component has been unmounted, such as from a setInterval function, and so it is not clear what the behaviour should be.
Reproduction
Click on the Hide
button, and see that Symbol()
is output in the console instead of false
Logs
No response
System Info
svelte-5-preview.vercel.app
Severity
annoyance