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
When trying to use default values for component props and binding them to a variable when using the component it throws an error. This looks intended but it is very annoying and unnecessary, requiring the user to create hacky fixes for a very simple task.
Reproduction
Svelte 5 (error) Svelte 5 (hacky fix) Svelte 4 (example of how you'd implement this in Svelte 4)
Describe the bug
When trying to use default values for component props and binding them to a variable when using the component it throws an error. This looks intended but it is very annoying and unnecessary, requiring the user to create hacky fixes for a very simple task.
Reproduction
Svelte 5 (error)
Svelte 5 (hacky fix)
Svelte 4 (example of how you'd implement this in Svelte 4)
Logs
No response
System Info
npmPackages: svelte: 5.0.0-next.37 => 5.0.0-next.37
Severity
annoyance
The text was updated successfully, but these errors were encountered: