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
Describe the bug
It took me a while to determine this was the root issue, but I was expecting bindings to be forwarded/redirect to the base component when spreading the remaining props.
To Reproduce
I've setup a REPL that should demonstrate the issue / feature
Expected behavior
The binded value in App.js is bound to the BaseComponent value
Information about your Svelte project:
Your browser and the version: Chrome 86
Your operating system: OS X 10
Svelte version: 3.29.7
Severity
The issue can be worked around by declaring a local variable within the middle "SomComponent" and binding to it (see Redirect component in REPL). Since this is a common pattern I'm using, it requires a lot of duplication and not sure if there is any side effects to this "re-binding", but can work around at the moment.
Additional context
This looks related to #5106, but smaller scope (specially about bind forwarding).
The text was updated successfully, but these errors were encountered:
Describe the bug
It took me a while to determine this was the root issue, but I was expecting bindings to be forwarded/redirect to the base component when spreading the remaining props.
To Reproduce
I've setup a REPL that should demonstrate the issue / feature
Expected behavior
The
binded
value in App.js is bound to the BaseComponentvalue
Information about your Svelte project:
Your browser and the version: Chrome 86
Your operating system: OS X 10
Svelte version:
3.29.7
Severity
The issue can be worked around by declaring a local variable within the middle "SomComponent" and binding to it (see
Redirect
component in REPL). Since this is a common pattern I'm using, it requires a lot of duplication and not sure if there is any side effects to this "re-binding", but can work around at the moment.Additional context
This looks related to #5106, but smaller scope (specially about bind forwarding).
The text was updated successfully, but these errors were encountered: