Describe the bug
https://svelte.dev/tutorial/kit/post-handlers
adding a todo does not update the page until it refreshes (add some spaces to the code)
somehow the deep reactivity is broken
changing the part where you add the todo to the list to a more "v4-style" does work correctly
data = {
...data,
todos: [...data.todos, {
id,
description
}
]}
Reproduction
go to https://svelte.dev/tutorial/kit/post-handlers
click 'solve'
add a todo -> nothing changes
add whitespace in code editor -> todo appears!!
Logs
No response
System Info
whatever the tutorial runs on :)
Severity
annoyance