Weird svelte 5 issue - can't dynamically import svelte component when using $props()? #12554
Unanswered
acoyfellow
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ran into this in the wild.. Can replicate in the repl.
Attempt to dynamically import a svelte file, just log when it has mounted
Notice it does not mount if the line
let { data } = $props();
breaks the expected behaviorBeta Was this translation helpful? Give feedback.
All reactions