I'm leaving React for Svelte

· 1 min read

I wrote my first complete Svelte app last week and have basically been on autopilot since. It’s interesting how a single experiment can redefine your entire development perspective.

My journey with React started back in 2019, and while I’ve built a career on it, moving to Svelte has been surprisingly swift. I was able to grasp the fundamentals and build my first app in less than an hour, a testament to documentation that is truly best-in-class. It smoothed out the learning curve I spent months battling with React.

The developer experience just feels… lighter. Navigating routes doesn’t feel like a heavy chore anymore; the app just snaps into place. Svelte's syntax feels like native HTML and JavaScript. I’m not inventing new patterns or fighting with className versus class I’m just writing web code. Even state management, which usually requires a complex mental model in React, is handled by Svelte "runes" in a way that just makes sense.

This experience means one thing right now: I'm not just planning future projects in Svelte, I've already begun migrating my existing ones, including this portfolio. It's clear there's no going back.

Good luck my fellow React devs. Hopefully, you'll come to see the light.

Enjoy this note? Subscribe for more!

Join my newsletter to get the latest insights on software engineering and technology delivered to your inbox.