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
This seems related to #2816, but I'm not positive it's exactly the same, as that issue involved component prop binding. Like that issue, this one can also be worked around by waiting a tick at the beginning of onMount.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Reactive declarations that depend on values that are initialised from bindings are incorrect during
onMount
.To Reproduce
https://svelte.dev/repl/1d7a000815544ddbb53044b949596ed6?version=3.9.1
Expected behavior
I expected
w
andh
to be correct by the time theonMount
code ran. I'm not certain if that's a reasonable expectation.Severity
Meh
The text was updated successfully, but these errors were encountered: