What are Runes?
Svelte 5 brings a paradigm shift with Runes, a set of symbols that explicitly opt-in to reactivity.
The Big Three
- $state: The new way to declare reactive state.
- $derived: For computing values based on other state.
- $effect: For side effects.