Runes And Rewrites: Svelte 5's Hard-Won Reset

Svelte 5, released in October, was always going to be a pivotal moment for a framework that has spent eight years carving out a distinct identity. Used by Apple, Spotify, IKEA and the New York Times, it still carries an underdog reputation — a standing its creator Rich Harris acknowledges with a musical metaphor: "If React is Taylor Swift, we're more of a Phoebe Bridgers. She's critically acclaimed, and you've heard of her, but you probably can't name that many of her songs."

The central challenge for Svelte 5 was to preserve the framework's celebrated developer experience while proving it can scale alongside React and Vue. A major ground-up rewrite that introduces runes is a gamble, but early signals are positive: weekly npm downloads have doubled compared to six months ago, and the post-launch response has been largely favourable.

The shift from the implicit $ magic to explicit $state, $derived and $effect is the most visible change. Harris frames this not as a break but as a culmination — a way to keep Svelte approachable without the need for a degree in its internals before building anything productive. A set of ten philosophical tenets, from "The web matters" to "Magical, not magic," reinforce that this is a qualitative project operating on a longer view than raw adoption numbers.

That said, success metrics aren't entirely unwelcome. Harris notes that seeing installations trend upward "gives us reassurance that we're doing the right thing," even if the ultimate goal is broader: "people building their apps with this framework and building higher quality, more resilient, more accessible apps."

Rich Harris – North Star, JSNation US 2024

Fixing The Broken Baseline

Milestones invite reflection, and the Svelte team's current outlook is blunt about the state of the industry. "Most software in the world is kind of terrible," Harris says, citing everyday failures like disabled form buttons and ambiguous payment confirmations. "Our main priority as toolmakers should be to enable people to build software that isn't broken. As a baseline, people should be able to build software that works."

This sentiment shapes upcoming priorities. If framework creators treat the core problem of turning state into DOM as essentially solved, the next frontier is everything around it. Harris sees "a huge amount to be done around the ancillary problems" — data loading, state management for that data, and deployment. Practical work is likely to land in SvelteKit first, with potential new opinions on authentication, databases, official component libraries and dev tools in the spirit of the Astro dev toolbar.

Harris's ambition extends beyond Svelte's own borders. An explicit long-term goal is for a JavaScript equivalent to Rails or Laravel — "I want there to be a Rails or a Laravel for JavaScript. In fact, I want there to be multiple such things" — and he believes Svelte can be part of making that ecosystem real. The rationale is simple: "There are too many things that you need to learn in order to build a full stack application today using JavaScript."

Momentum And The Offer On The Table

Since the stable release, fresh ecosystem activity has been visible across a variety of projects built with Svelte — ranging from web-based virtual machines and animated number components to drag-and-drop utilities and the Threlte 8 WebGL library. The annual Advent of Svelte has kept the momentum going following the release.

For those still hesitant about Svelte 5, the creator's suggestion is practical rather than dogmatic:

“I would say you have nothing to lose but an afternoon if you try it. We have a tutorial that will take you from knowing nothing about Svelte or even existing frameworks. You can go from that to being able to build applications using Svelte in three or four hours. If you just want to learn Svelte basics, then that's an hour. Try it.”

— Rich Harris