NextJS vs Remix vs SvelteKit vs Astro

NextJS vs Remix vs SvelteKit vs Astro

NextJS, SvelteKit, Remix, Astro, Opinion ・ Dec 24, 2023

Go with Astro.

For those of you who are ready to dive in and spend several minutes to understand my thinking, let’s go.

In the ever-moving landscape of JavaScript frameworks, meta-frameworks and ways to render pixels in browsers using servers or without them there are 4 main competitors (as per end of 2023, maybe some time later SolidStart will be added here). I have zero experience with Vue and Nuxt, so it will not be in this rating.

No one will ever argue that NextJS reigns supreme in the world of web development meta frameworks. With unbelievable 4 million daily downloads (according to NPM Trends), it stands as the de-facto choice for handling React both on the server and client, owing much of its success to heavy marketing artillery.

And yes, NextJS is indeed very popular among large companies, just check this Wappalyzer page.

4th place: NextJS

Yes, last place. Although NextJS is so popular and so well marketed, it has its problems, especially the controversial Pages Router and SSR stuff. Another thing is, it’s created by Vercel, primarily for Vercel, supported by Vercel and promoted by Vercel. Is it bad, I don’t know, but I was so tired of their marketing bombardment everywhere that it lead to my NextJS fatigue.

Pros:

Cons:

3rd place: Remix

Remix recently has been acquired by Shopify, this promises a bright future for it. Shopify has so many talented engineers and their effort with headless storefronts plays very well with the acquihire.

I personally appreciate Remix for its stance on web development principles, such as ensuring that forms work even without JavaScript, contributing to the SSR revolution in 2023.

Pros:

Cons:

2nd place: SvelteKit

I like Svelte and SvelteKit, I like Rich and his ideas and I hope SvelteKit will gain its momentum in 2024 so that more people see that there is a whole world behind React walls. Another thing that I like in it is that it seamlessly integrates with various cloud adaptors. Of course Svelte framework itself is highly approachable and easy to understand, now that they introduced runes that look very similar to SolidJS signals Svelte may grow pretty fast.

Pros:

Cons:

1st place: Astro

My top pick is Astro, without a doubt. The very website you’re reading this review on is built with Astro, which offers unparalleled flexibility in terms of tooling choices.

Whether you prefer React, Preact, Svelte, Solid, or something else entirely, Astro accommodates it all. It has adopted the concept of “islands,” allowing you to use different frontend frameworks for different parts of your app, even enabling server-side rendering for all of them. Unbeatable developer experience. Astro nailed so many hard and time-consuming things so well.

Pros:

Cons:

As a conclusion: try new things outside of your zone of comfort. This is especially useful for those developers who are all in React.