/plushcap/analysis/vercel/vercel-whats-new-in-svelte-5

What's new in Svelte 5

What's this blog post about?

Svelte 5 introduces runes for universal reactivity, snippets for reusable markup, and compiler improvements. The release includes new runes like $state, $derived, and $effect to manage state and its dependencies within components. It also offers signals and fine-grained reactivity, universal reactivity with .svelte.js files, other runes that simplify common tasks, and compiler improvements for better performance and reduced bundle sizes. Additionally, Svelte 5 introduces snippets for reusable markup and logic within a component, native TypeScript support, and benefits from Vite's growing ecosystem.

Company
Vercel

Date published
Oct. 23, 2024

Author(s)
-

Word count
1333

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.