🎓 A1Learner
🔍
0 of 50 lessons completed

Next.js Next.js vs Nuxt, SvelteKit and Remix

Next.js, Nuxt, SvelteKit, and Remix do the same job. They differ in which language they build on and how they name their routes.

Four frameworks, one table

Each row names one framework, its language, and its router. All four use JavaScript and TypeScript.

node -e 'const rows=[["Next.js","JavaScript and TypeScript","App Router"],["Nuxt","JavaScript and TypeScript","File-based pages"],["SvelteKit","JavaScript and TypeScript","File-based pages"],["Remix","JavaScript and TypeScript","File-based routes"]]; rows.forEach(r=>console.log(r[0]+" | "+r[1]+" | "+r[2]));'

Each framework runs on one UI library

Next.js and Remix run on React. Nuxt runs on Vue, and SvelteKit runs on Svelte.

node -e 'console.log("Next.js runs on React."); console.log("Nuxt runs on Vue."); console.log("SvelteKit runs on Svelte."); console.log("Remix runs on React.");'

Example

const frameworks = ["Next.js", "Nuxt", "SvelteKit", "Remix"];
console.log("Frameworks compared:", frameworks.length);
console.log("First pick for this course:", frameworks[0]);
console.log("All four use JavaScript and TypeScript.");

Key points

  • Nuxt: the Next.js of Vue. It adds routing and server rendering to Vue.
  • SvelteKit: the Next.js of Svelte. It adds routing and server rendering to Svelte.
  • Remix: a React framework like Next.js, with file-based routes.
  • File-based routing: a file in a folder becomes a page at that web address.
  • Pick the framework that matches the language you already know.
  • This course uses Next.js, so it builds on React.

In this example, the list holds the four frameworks from this lesson. Four names are compared, and the first pick is Next.js. All four use JavaScript and TypeScript, so the language is not what sets them apart. The UI library is what sets them apart. Next.js runs on React, and this course builds on React, so Next.js is the pick.

Note

Switching frameworks later means learning a new language or a new router, so pick once and stay with it.

Try it Yourself

Edit the code, then press Run.

Running is simulated · TypeScript Playground

Exercise

Which framework is the Next.js of Vue?