News for hackers. Stuff that matters.
Re:I like Svelte more than React (it's store management) by ezarowny on Sunday June 01, 2025 @10:19AM (#44151077)
If you're writing Svelte code today and you need shared state, I would recommend you start by looking at the Context API (https://svelte.dev/docs/svelte/context). For manual control of data updates you'll probably still want to use Stores (SvelteKit does!) but I'd start with Context first.

There are no comments on this comment yet.