Tools · SPBoucher
Menu

Next.js

In-depth entry

by Vercel · Framework · also known as Next, NextJS

React framework from Vercel for full-stack web applications with file-based routing, server components, server-side rendering, static generation and API route handlers

MIT licenseOpen sourceFreeSelf-hostedCloudLocalSelf-hostable
Visit official site Compare

Link verified Nov 2, 2026

Overview

Next.js is an open-source React framework developed by Vercel and released under the MIT license. It supplies the pieces React leaves to the application: a file-system router (the App Router) with nested layouts, React Server Components that render on the server and send no JavaScript for static parts, server actions for mutations, route handlers for JSON APIs, and a build pipeline that chooses static generation, server rendering or streaming per route. Image, font and script components handle common performance work, and the Turbopack bundler is the default in recent versions.

Next.js runs as a Node.js server (or on Bun), as a fully static export, or on Vercel's managed platform where it was designed; self-hosting with PM2 or a container behind a reverse proxy is well documented and common. It is a frequent choice for marketing sites, dashboards, documentation portals and the front ends of data products, including several sites in this encyclopedia's ecosystem, because one codebase covers rendering, data fetching and small APIs.

The framework's breadth is also its cost. The App Router introduced a new mental model (server versus client components, caching layers, streaming) that differs from the older Pages Router, and migrations between major versions regularly require code changes. Caching behavior has been revised across releases, which can surprise teams. Some features work best or only on Vercel's infrastructure, so self-hosters should check parity. Build output and memory use are heavier than lighter frameworks, and the Content Security Policy configuration for server components needs care.

Capabilities

  • File-system routing with nested layouts
  • React Server Components and streaming server rendering
  • Static site generation and incremental regeneration
  • Server actions and API route handlers
  • Image, font and script optimization components
  • Turbopack-based development and production builds
  • Middleware for request rewriting and authentication
  • Static export mode for CDN hosting

Typical workflows

  1. Build a data dashboard that fetches on the server and streams to the client
  2. Ship a static marketing site exported to a CDN
  3. Co-locate a JSON API with the React front end in one repository
  4. Self-host behind Caddy with PM2 on a cluster node

Strengths

  • Complete full-stack toolkit around React
  • Flexible rendering per route
  • Large community and template ecosystem
  • MIT license

Limitations

  • Complex mental model and frequent major-version changes
  • Caching semantics have shifted across releases
  • Some features favor Vercel's platform
  • Heavier builds than minimal frameworks

Prerequisites

  • Node.js or Bun; React

Who it is for

  • Front-end and full-stack developers
  • Teams building content sites and dashboards
  • Developers deploying on Vercel or self-hosting Node

Alternatives & comparison

React alone is a UI library; Next.js adds routing, rendering strategies and server features on top of it. Vite with React gives a lighter client-side setup for single-page applications that do not need server rendering. Express or Hono paired with a Vite front end is the traditional alternative when the API and the UI are deployed separately rather than inside one Next.js server.

  • Docusaurus

    React-based static site generator from Meta for documentation sites with MDX content, versioning, localization and a plugin architecture

    Open sourceOpen source
  • Express

    Minimal, unopinionated web framework for Node.js with routing and middleware, the long-standing default for HTTP servers in the Node ecosystem

    Open sourceOpen source
  • FastAPI

    Python web framework for building HTTP APIs from type-annotated functions, with automatic validation through Pydantic and generated OpenAPI documentation

    Open sourceOpen source
  • Hono

    Small TypeScript web framework built on Web Standard APIs that runs unchanged on Cloudflare Workers, Deno, Bun, Node.js and other JavaScript runtimes

    Open sourceOpen source
  • React

    Component-based JavaScript library for building user interfaces, created at Meta, with hooks, a declarative rendering model and server components

    Open sourceOpen source
  • Vite

    Front-end build tool and development server that serves native ES modules during development and bundles for production, with a plugin API shared by many frameworks

    Open sourceOpen source
Compare Next.js with its alternatives →

Sources & verification

Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.

Confidence
High
Reviewed
Nov 1, 2026
Links
Verified · Nov 2, 2026

Spotted an error?

Broken link, outdated license, wrong category, or a tool that no longer exists? Tell us; reports are reviewed by the editor.

FastAPI

Sebastián Ramírez (tiangolo) and FastAPI contributors · API development & tooling

In-depth entry

Python web framework for building HTTP APIs from type-annotated functions, with automatic validation through Pydantic and generated OpenAPI documentation

MITOpen sourceFreeLocalSelf-hostedNov 2, 2026

Node.js

OpenJS Foundation · Programming languages & runtimes

In-depth entry

Server-side JavaScript runtime built on the V8 engine, governed by the OpenJS Foundation, with npm as its package ecosystem

MITOpen sourceFreeLocalSelf-hostedBroken

TypeScript

Microsoft · Programming languages & runtimes

In-depth entry

Statically typed superset of JavaScript from Microsoft that compiles to plain JavaScript and powers editor tooling across the web ecosystem

Apache-2.0Open sourceFreeLocalSelf-hostedNov 2, 2026

Vercel

Vercel Inc. · Cloud & hosting providers

Front-end cloud from the makers of Next.js that deploys web applications from git with preview environments, serverless and edge functions and a global CDN

ProprietaryFreemiumPaidNov 2, 2026

shadcn/ui

shadcn · Web frameworks & UI

Collection of accessible React components built on Radix primitives and Tailwind CSS that are copied into a project's source rather than installed as a dependency

MITOpen sourceFreeLocalNov 2, 2026

Turborepo

Vercel · CI/CD & build automation

Build system for JavaScript and TypeScript monorepos from Vercel that runs package tasks in dependency order with local and remote caching

MITOpen sourceFreeLocalNov 2, 2026