Svelte: Can't bind:this a nested component to a dynamic object property

Created on 29 Mar 2019  路  7Comments  路  Source: sveltejs/svelte

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.

bug

Most helpful comment

Congrats on leaving beta, but 3.0.1 still has this bug: https://svelte.dev/repl?version=3.0.1&gist=9b88ce63138ea76b7b64df38a685587f

All 7 comments

Congrats on leaving beta, but 3.0.1 still has this bug: https://svelte.dev/repl?version=3.0.1&gist=9b88ce63138ea76b7b64df38a685587f

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noypiscripter picture noypiscripter  路  3Comments

davidcallanan picture davidcallanan  路  3Comments

clitetailor picture clitetailor  路  3Comments

AntoninBeaufort picture AntoninBeaufort  路  3Comments

sskyy picture sskyy  路  3Comments