Closed
Description
Describe the bug
When a variable is bound to a slotted component, changing that variable within the slotted component causes any reactive statements inside the slotted component to trigger twice.
To Reproduce
https://svelte.dev/repl/df6fe28c60e84c26a141debf305ed114?version=3.30.0
Expected behavior
Pressing the "Update x" button should cause only one console.log
call, which is what happens when the <Wrapper>
is removed.
Severity
Low — can work around this by using a store instead of binding.
Metadata
Metadata
Assignees
Labels
No labels