We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<svelte:component/>
It is not possible to bind a Svelte 4 props to a <svelte:component/> element:
<script> import Test from './Test.svelte' let div </script> <svelte:component this={Test} bind:div />
There is an error: "$$components is not defined".
This seems to be the cause of Ennoriel/svelte-awesome-color-picker#75 For reference: Svelte 5: List of libraries not working out of the box #10359
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACo2OuwrCQBBFf2WYJk1I-jUK_oOdsdDsBAeyD3YnQQn5d3eNKGJjeYdz554Zex4oojrOaM-GUOHeeyxR7j6HONEglHJ0Y-jypYldYC-71rbCxrsgcKAo0AdnoKjqHKq1ViQmUQMJaJ5a29Sfrm1WRnUuPbFkBeTKcTvn_gIXtlqlEtQJTvPGae6ZNCoJIy3l2zbj_-kC0O2p-_LZfAn9bpyWB8l2UJMdAQAA
No response
REPL: running Svelte compiler version 5.0.0-next.152
blocking all usage of svelte
The text was updated successfully, but these errors were encountered:
I saw the error as well when I migrated Test to runes
The issue seems to be bind:div in the <svelte:component />. Changing that to {div} gets rid of the error
bind:div
{div}
Sorry, something went wrong.
fix: ensure dev validation in dynamic component works as intended (#1…
3e1abc0
…1985) Fixes #11984
Thanks, that was quick!
trueadm
Successfully merging a pull request may close this issue.
Describe the bug
It is not possible to bind a Svelte 4 props to a
<svelte:component/>
element:There is an error: "$$components is not defined".
This seems to be the cause of Ennoriel/svelte-awesome-color-picker#75
For reference: Svelte 5: List of libraries not working out of the box #10359
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACo2OuwrCQBBFf2WYJk1I-jUK_oOdsdDsBAeyD3YnQQn5d3eNKGJjeYdz554Zex4oojrOaM-GUOHeeyxR7j6HONEglHJ0Y-jypYldYC-71rbCxrsgcKAo0AdnoKjqHKq1ViQmUQMJaJ5a29Sfrm1WRnUuPbFkBeTKcTvn_gIXtlqlEtQJTvPGae6ZNCoJIy3l2zbj_-kC0O2p-_LZfAn9bpyWB8l2UJMdAQAA
Logs
No response
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: