-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't bind:this a nested component to a dynamic object property #2333
Comments
Bug is still present in beta 26: https://v3.svelte.technology/repl?version=3.0.0-beta.26&gist=9b88ce63138ea76b7b64df38a685587f |
Congrats on leaving beta, but 3.0.1 still has this bug: https://svelte.dev/repl?version=3.0.1&gist=9b88ce63138ea76b7b64df38a685587f |
Adding another example for comparison: https://svelte.dev/repl/ff9fac1693924826ba3600c287ff3516?version=3.5.3 |
Is there any workaround for this ? Not beeing able the access to components is quite an issue in complex layout |
Huzzah for @btk5h! 😄 |
Huzzah indeed! Fixed in 3.5.4 |
I get a compilation error when I try to do so:
https://v3.svelte.technology/repl?version=3.0.0-beta.21&gist=9b88ce63138ea76b7b64df38a685587f
This bug doesn't show when the bind:this is on an HTML element, or when its right-hand side isn't using square brackets to reference an object property - it specifically needs to be a nested component and a dynamic object property.
The text was updated successfully, but these errors were encountered: