Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

What's new in Svelte 5

Vercel News·Alice Alexandra Moore·4 days ago
#vHqSZa9x
#vercel#each#snippet#svelte#state#reactivity
Reading 0:00
15s threshold

Svelte 5 brings runes for universal reactivity, snippets for reusable markup, and compiler improvements. With its compiler-first approach, fine-grained reactivity, and ability to integrate with any JavaScript project, Svelte stands apart from other frameworks. At Vercel, we're big fans of Svelte—deeply invested in its success and constantly working to make our platform the best place to build and deploy Svelte apps. With the arrival of Svelte 5 , let's explore what makes this release exciting. Link to heading Runes Svelte 5 introduces runes to manage reactivity. These symbols give you explicit control over application state. Link to heading The $state , $derived , and $effect runes At the heart of Svelte 5's updated reactivity system are the $state , $derived , and $effect runes. These provide concise ways to manage state and its dependencies within your components. $state : Declares a reactive variable, replacing top-level let declarations from Svelte 4.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More