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
The text was updated successfully, but these errors were encountered:
jakobrosenberg
changed the title
Assigning a prop to a proxied object, breaks its functions in reactive statements
Assigning a prop to an imported object, breaks initial run of reactive statements
Mar 14, 2020
Describe the bug
Imported objects don't work in reactive statements if there's an assignment to the object.
To Reproduce
https://svelte.dev/repl/5f4423eaf63644dfa71578997b0b0d4c?version=3.19.2
Expected behavior
The reactive statement should be executed on load
Severity
Severe since the bug doesn't show any warnings and thus can break apps without a way to track it down.
Additional context
Reassigning the imported object fixes the bug:
The text was updated successfully, but these errors were encountered: