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
Objects that are not primitives should generally not be used like this. You are causing an implicit string conversion which the compiler will ignore for non-state variables. Instead of treating every value in the template as potentially dynamic, only property accesses and function calls will add an effect.
Usually the implicit string conversion of objects is fairly useless anyway (e.g. with dates it outputs a very verbose representation and for arrays there are no spaces between elements). If you want this to happen and dynamically update anyway, you can explicitly convert the value:
Describe the bug
https://svelte.dev/playground/8927c1b4ff6e4905a459fb4045fecdeb?version=5.15.0
why clicking on update value #1 don't update in template?
Reproduction
https://svelte.dev/playground/8927c1b4ff6e4905a459fb4045fecdeb?version=5.15.0
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: