-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Automatic class string coercion is not reactive #15289
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
Labels
Comments
toString()
is not reactive
I think this is a "won't fix" kind of issue; this has also been raised in regards to |
This has come up enough times now that it might make sense documenting this somewhere. |
6 tasks
6 tasks
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.
Describe the bug
Considering this code:
Using
{test}
in the component template is not reactive (whenthing
changes), but{String(test)}
is.Reproduction
https://svelte.dev/playground/e44b1258b39c4477a38ccb9ecaa4cd21?version=5.20.0
annoyance
The text was updated successfully, but these errors were encountered: