Svelte @svelte.dev · Dec 15

Day 15 — the new `$inspect.trace(...)` rune gives you debugging superpowers. Add it to a function that runs inside a derived or effect, and you'll see detailed information about what caused it to re-run 🎁 docs svelte.dev/docs/svelte/... 🎁 demo svelte.dev/playground/d...

78 likes 4 replies

?

Replies

Louis · Dec 16

You folks have been absolutely killing it this advent, great stuff!

Mateusz Kadlubowski · Dec 15

Bait: React developers, have fun with your "why-did-you-render".

@jonathonrp.github.io · Dec 15

I've been needing this! I was just about to start using console.trace() today 🤣

Svelte · Dec 16

Day 16 — `$app/state`, a modern Svelte 5 state-based replacement for SvelteKit's `$app/stores` module. No more clunky `$` prefix when reading values, just fine-grained state that works everywhere, even outside component files! 🎁 docs svelte.dev/docs/kit/$ap... 🎁 tutorial svelte.dev/tutorial/kit...