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
raythurnvoid
changed the title
Reactivity incorrectly executed when a variable is referenced in a function defined in onMount
Reactivity incorrectly executed when a variable is referenced in a function
May 12, 2023
Describe the bug
When a variable is referenced inside a function, svelte will incorrectly mark it as dirty even when it hasn't been updated with
value = ...
Reproduction
https://svelte.dev/repl/8d8f53d0059c43df96e7e233f23fc567?version=3.59.1
writing in the first input field will trigger a log in console that is not expected.
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: