Engineering

5 min read

November 22, 2026

React vs Next.js: which should you use for your web application?

What Next.js adds on top of React (rendering strategies, routing, SEO, server code), when a plain React single-page app is the better choice, and how to migrate between them.

By Parth Patel

"React or Next.js?" is a slightly odd question, because Next.js is built on React. The real question is whether you want a plain React single-page app or a framework that adds rendering strategies, routing, server code and SEO on top. Here's how I decide.

What Next.js adds

  • Server rendering and static generation, so pages arrive with real content in the HTML.
  • File-based routing with layouts and nested routes.
  • Server-side code in the same project: data fetching, server actions and route handlers.
  • Metadata, sitemaps and image optimization for search and speed.

A plain React app, typically built with Vite, renders in the browser. It's simpler, with fewer moving parts.

When Next.js is the better choice

  • Public pages that should be found in search: marketing sites, content, e-commerce, documentation.
  • Fast first loads matter for conversion or Core Web Vitals.
  • One codebase for a public site and a logged-in app.
  • You want server-side logic close to the UI.

When plain React is enough

  • Internal tools and dashboards behind a login, where search engines never look.
  • A separate backend already provides every API.
  • You want the simplest possible deployment: static files on a CDN.

Performance and SEO

Search engines can render JavaScript, but server-rendered HTML is faster, more reliable and better for Core Web Vitals. If organic traffic matters, render on the server.

Migrating between them

Moving a React single-page app to Next.js can be done route by route: components carry over, while routing and data fetching change. Moving the other way is rare, but easy for pages that don't need the server.

My default

  • Public-facing product or website: Next.js.
  • Internal tool behind a login: React with Vite.
  • SaaS with a marketing site: Next.js for both, sharing one design system.

Both are React. The choice is about rendering, routing and where your code runs, so make it per product, not per preference.

Next step

Working on something like this? Let’s talk it through.

Send a short brief. You’ll get a written reply from me within two business days — either a few clarifying questions, a suggested first step, or an honest “I’m not the right fit” with a pointer elsewhere.

Parth Patel

Senior full-stack engineer