-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
I've made this simple repl where result is constructed from initial and dynamic variables using $derived rune. By clicking the first button dynamic changes and thus result is also expected to be changed, which it seems to be according to console logs. But dom is not changed until the second button is clicked, explicitly toggling {#key ...} around target dom.
I am not shure if this is expected behavior or not. If it is i wonder if there is a way to update dom without {#key ...} directive.
Reproduction
https://svelte.dev/playground/08c395888df14b178b71f0d60dc77898?version=5.19.8
Logs
System Info
Svelte v5.19.8 REPLSeverity
annoyance
Metadata
Metadata
Assignees
Labels
No labels