-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Description
Describe the bug
When a parent does bind:x on a child's export const x and attempts to use this value in the onDestroy callback, the value of x is null.
This is a breaking change while using Svelte 4 syntax, since x would previously keep the same value.
Reproduction
https://svelte.dev/playground/e7886cdc76d14523bec2b84ea5ace46f?version=5.1.0
Logs
No response
System Info
Not relevantSeverity
blocking an upgrade
FoHoOV and patoi