Skip to content
EqualStack
Engineering

Next.js or plain React for a B2B web app? How to choose

When a framework like Next.js is worth it, when a plain React single-page app is the simpler choice, and the questions that decide it for your product.

EqualStack engineering teamSenior engineers3 min read

"Should we use Next.js or just React?" comes up at the start of almost every web project we scope. Both are good choices. Next.js is built on React, so the question is really whether you need what the framework adds on top: server rendering, routing, data fetching patterns and built-in optimisations. The answer depends far more on your product than on the tools.

The short difference

  • Plain React (a single-page app): the browser downloads your app and renders everything on the client. You choose your own router and data layer, and serve the result as static files.
  • Next.js: pages can be rendered on the server or prebuilt at deploy time, with routing, layouts, data fetching and image and font optimisation built in. It runs on a Node.js or edge server, or can export static pages.

When Next.js is the better fit

Public pages that need to rank and load fast

Marketing pages, documentation, blogs, product catalogues and anything else people find through search benefit from HTML that arrives ready to read. Server rendering or prebuilt pages give faster first loads and are easier for search engines and link previews to read.

A product and a marketing site in one codebase

Many SaaS companies want a fast public site and a logged-in app sharing components, design and authentication. Next.js handles both well in one project.

Content that changes from a CMS

Pages can be rebuilt when editors publish, so content stays fresh without a full redeploy.

Teams that want strong conventions

File-based routing, layouts and data patterns give a large team a shared structure, which helps when many engineers work on the same app.

When plain React is the simpler choice

Apps that live entirely behind a login

Internal tools, admin panels and dashboards that nobody finds through search gain little from server rendering. A single-page app served as static files is simple to host, cache and reason about.

Rich, highly interactive interfaces

Design tools, data-heavy dashboards and editors spend most of their time running in the browser anyway. A focused client-side setup can be easier to optimise for them.

An existing separate backend

If you already have APIs in .NET, Java, Python or Go, a static React app that talks to them keeps the architecture simple, with no second server tier to run.

The cheapest possible hosting

Static files can be served from any CDN for very little, with no servers to patch or scale.

Questions that decide it

  1. Do people find these pages through search or shared links? If yes, lean towards Next.js for those pages.
  2. Is most of the product behind a login? If yes, a single-page app may be all you need.
  3. Where does your backend live? A separate, mature API makes a static React front end straightforward. A greenfield product may benefit from Next.js handling some server work too.
  4. Who will maintain it? Choose what your current and future team can support confidently.
  5. How will you host it? Server rendering needs a runtime; static apps do not. Check that your hosting choice supports the features you plan to use.

You can mix them

It is common, and sensible, to use Next.js for the public site and a plain React app for a complex logged-in product, sharing a component library and design system between them. Choose per surface, not per company.

Mistakes we see

  • Choosing Next.js for an internal dashboard, then fighting server rendering for pages that never needed it.
  • Choosing a plain SPA for a content site, then bolting on prerendering later to fix search visibility.
  • Upgrading framework versions without reading the migration guide. Frameworks evolve quickly; plan upgrades as real work, not a dependency bump.

The short version

Use Next.js where pages must load fast, rank in search or share well, especially public sites and products that combine marketing with an app. Use a plain React single-page app for tools that live behind a login and talk to an existing API. Many products are best served by both.

See how we work with React developers and Next.js developers, or book a free 30-minute call to talk through your architecture.

Enjoyed this? Get a practical note twice a month.

Engineering lessons, case studies and guides like this one, from the senior team that wrote it.

No spam. Unsubscribe anytime.

Written by

EqualStack engineering team

Senior engineers

Written by the senior engineers who design, build and run our clients' products.

About us

Keep reading

Related articles

Engineering3 min read

Microservices or a modular monolith? What most teams should start with

Why most products should start as a well-structured monolith, the signs that it is time to split out services, and how to do it without a risky rewrite.

Engineering3 min read

React Native or Flutter? An honest comparison for product teams

How React Native and Flutter differ in practice, which one suits your team and product, and when building fully native apps is still the right call.

Engineering2 min read

Modernising a .NET monolith without a big-bang rewrite

How to move a legacy .NET application to modern .NET and services step by step, keeping the business running the whole time.

Have a project in mind?

Tell us what you're building. A senior engineer will reply within one business day with questions, ideas and next steps.