Open
Description
Describe the bug
When you pass a $state with an object as a $binable prop, and you re-assign that prop to a new object in the child, the parent will not pick up on the change.
Reproduction
https://svelte.dev/playground/c67f404b51e24509ab99a256950ffd7a?version=5.28.2
Click Add a few times, both $inspects will show the correct list, but when clicking Remove, only the Component.svelte
will output, App.svelte
will not be aware of the change.
Logs
System Info
System:
OS: Windows 10 10.0.19045
CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700
Memory: 31.60 GB / 63.79 GB
Binaries:
Node: 22.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 11.3.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (135.0.3179.85)
Internet Explorer: 11.0.19041.4355
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels