Next.js vs React: which should you choose in 2025?
An engineer's comparison of Next.js and React for your next web application.
This question comes up in almost every client conversation about a web project. The short answer is that Next.js is React: it's a framework built on top of React. So the real choice is between React with a setup you put together yourself and Next.js with its opinionated, batteries-included defaults. Here's how we think about it.
React: the foundation
React is a UI library. It gives you components and a reactive rendering model, and that's where it stops. To build a full application with React alone, you have to choose a lot of pieces yourself: routing (React Router), data fetching (React Query, SWR), state management (Redux, Zustand) and bundling (Vite, Webpack). That flexibility is great if you have strong opinions about your stack. If you don't, it's a liability.
Next.js: React with the decisions made
Next.js makes those decisions for you, and mostly makes them well. You get file-based routing, server-side rendering (SSR), static site generation (SSG), API routes, image optimisation and incremental static regeneration out of the box. The App Router, which matured over Next.js 13–16, brought React Server Components into everyday use. They change how you think about data fetching and bundle size.
Where Next.js clearly wins
For public websites where SEO matters, Next.js has a big advantage. A client-side React app sends the browser an empty HTML shell and renders the content with JavaScript, so search engines often see nothing on first load. Next.js pre-renders pages on the server and sends complete HTML. That's better for Googlebot and much better for your Core Web Vitals.
- Built-in image optimisation with automatic WebP conversion and lazy loading
- Font optimisation with zero layout shift
- Automatic code splitting, so users only download the JavaScript they need
- Edge runtime support for very low-latency responses around the world
- Streaming and Suspense for pages that load progressively
When to choose plain React (with Vite)
- Internal tools and dashboards behind a login, where SEO doesn't matter
- Complex SPAs with client-side state that's too involved for server components
- When you want full control over your tooling
- Teams that already have strong opinions about their stack
When to choose Next.js
- Any public website where SEO and page load speed matter
- E-commerce, landing pages, marketing sites and blogs
- Full-stack apps where you want API routes next to your frontend
- Startups that want to move fast with sensible defaults
- Projects where deploying on Vercel fits your infrastructure
"For any new project in 2025, we recommend Next.js by default. The gains in performance and developer experience are big enough that we'd need a strong reason to pick something else."
Ready to apply this to your business?
Book a free 30-minute call. There's no commitment, and you'll come away with a clear plan for how we can help.
Book a free consultation