Data seems not reactive, possible bug in svelte.dev tutorial?
I am talking about Svelte.dev tutorial.
Data seems not reactive, possible bug in svelte.dev tutorial?
I am talking about Svelte.dev tutorial.
How to use a global $derived in Svelte 5?
I’m trying to create a global state with Svelte 5 and runes:
How to use a global $derived in Svelte 5?
I’m trying to create a global state with Svelte 5 and runes:
Svelte $effect rune not logging on array.push for $state rune
This is the code I’m using. Its also in sevelte5 playground here.
What I don’t understand is, why it’s not logging when I add todo with array.push but works when I do reassignment. Not going to use it but just learning.