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
Await block unexpectedly evaluates expression upon state changes in legacy mode.
Expected behavior is to only have the expression evaluated when its variables change.
cnt becomes a dependency of the await block by being read inside init, and that causes the await block to rerun. We likely need to wrap these calls in untrack in legacy mode
Describe the bug
Await block unexpectedly evaluates expression upon state changes in legacy mode.
Expected behavior is to only have the expression evaluated when its variables change.
Reproduction
https://svelte.dev/playground/53cc8a72175c41c6bebb2bbb75d069a7?version=5.2.3
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: