Svelte 5 Released
Release, Links, and Docs
- Svelte 5 is out with better performance, granular reactivity via “runes,” snippets/event attributes, native TS, and backward-compatible legacy syntax.
- Official docs and the new site are still in flux; preview sites have “coming soon” sections and the main svelte.dev is v4-era.
- A dedicated migration CLI exists to help move from v4, and a blog post explaining v5 has been published.
Runes, Reactivity, and API Design
- Runes replace a lot of the old “compiler magic” with more explicit signals-style reactivity.
- Fans say this improves transparency, composability, and supports state outside components without heavy store patterns.
- Critics feel runes are more verbose and less ergonomic, missing the elegance of v3/v4 “just assign to a variable” reactivity.
- Some note confusion around proxies, shallow vs deep reactivity, and tracking whether a value is plain or reactive.
DX, Comparisons, and Framework Choice
- Many praise Svelte’s clarity versus React’s hooks and state libraries, especially for small–medium apps and quick side projects.
- Several compare Svelte 5’s model to Vue 3 / Solid signals; some see the major modern frameworks as converging conceptually.
- There is debate over whether Svelte’s advantages justify leaving React or Vue, given React’s ecosystem and React Native, and Vue’s maturity.
- Some think React remains the “safe enterprise choice” mostly due to hiring and ecosystem, not necessarily superior design.
SSR, SPA Mode, and Architecture
- Discussion on best way to build SPAs: SvelteKit SPA mode vs plain Svelte + Vite vs other routers.
- Some argue SSR is often unnecessary complexity and risk (e.g., leaking secrets, scaling Node), others value SSR for forms, SEO, and DX.
- Concerns are raised about global state with runes in SSR potentially leaking data across requests if misused.
Production Use, Ecosystem, and Jobs
- Multiple commenters run sizable Svelte/SvelteKit apps (including well-known OSS and commercial products) and report good stability and performance.
- Others are cautious about upgrading to v5 immediately, citing open edge-case issues and incomplete docs.
- Svelte is seen as niche for employment compared to React, though usage and job postings appear to be growing.