Next.js

Next.js is an open-source framework built on React for creating websites and full-stack web applications. It is developed by Vercel and adds routing, server rendering, static generation and caching to React. The current line is Next.js 16; version 16.4 was released in October 2026.

Key facts

Type React framework for websites and full-stack web applications
Developer Vercel (formerly ZEIT) and open-source contributors
First release October 25, 2016
Current version 16.4.6 as of November 2026 (16.4 released October 6, 2026)
Languages JavaScript and TypeScript; the Turbopack bundler is written in Rust
License MIT
Website nextjs.org

What is Next.js?

Next.js is a framework that turns React into a complete tool for building websites: it adds file-based routing, server rendering, static page generation, caching and server-side code. A Next.js project contains both the user interface and the server logic, and it runs on Node.js.

React on its own only describes the interface. Next.js decides where and when each page is rendered — at build time, on each request or in the background — so pages reach users and search engines as ready HTML.

History

Next.js was released in October 2016 by ZEIT, a company founded by Guillermo Rauch. ZEIT renamed itself Vercel in April 2020 and continues to lead development together with the open-source community.

  • 2016 — first version with server rendering of React pages.
  • October 2022 — Next.js 13 introduced the App Router built on React Server Components; it became stable in version 13.4 in May 2023.
  • October 2024 — Next.js 15.
  • October 2025 — Next.js 16 made Turbopack the default bundler, introduced Cache Components with the "use cache" directive and renamed middleware.ts to proxy.ts.
  • October 2026 — Next.js 16.4 recommends Cache Components for every app; the team plans to make them the default in Next.js 17.

How does Next.js render pages?

Next.js can render each page in the way that fits its content:

  • Static generation — HTML is built in advance and served from a cache; suited for articles and marketing pages.
  • Incremental Static Regeneration (ISR) — static pages are rebuilt after content changes, on a timer or on demand through revalidateTag and revalidatePath, without a full rebuild.
  • Server rendering — HTML is created on every request; suited for personalized pages and search results.
  • Streaming — the server sends parts of a page as soon as they are ready, so users see content before slow data loads.

In the App Router, components are Server Components by default: they run on the server and send no JavaScript to the browser. Interactive parts are marked with the "use client" directive. With Cache Components, a developer marks which data and components may be cached using "use cache".

How does routing work?

Routes follow the folder structure of the app directory:

  • app/page.tsx — the home page /;
  • app/blog/[slug]/page.tsx — a dynamic page such as /blog/hello;
  • layout.tsx — a shared layout that wraps nested pages;
  • route.ts — an API endpoint that returns JSON, files or other responses;
  • proxy.ts — code that runs before a request is handled, for redirects or rewrites.

Example

A page that loads a post on the server and returns ready HTML:

tsx
// app/blog/[slug]/page.tsx
export default async function PostPage({ params }: { params: Promise<{ slug: string }> }) {
  const { slug } = await params;
  const post = await fetch(`https://api.example.com/posts/${slug}`).then((r) => r.json());
  return (
    <article>
      <h1>{post.title}</h1>
      <p>{post.body}</p>
    </article>
  );
}

The component is asynchronous and runs on the server, so the request to the API never reaches the browser and the page arrives with its text already in the HTML.

Where can you deploy Next.js?

Next.js can be deployed on Vercel, which builds and hosts projects from a Git repository with no server setup. It also runs on any server with Node.js using next build and next start, inside a Docker container with the output: "standalone" setting, or as a static export without a server. Many cloud platforms offer ready Next.js templates.

Pros and cons

Pros Cons
Ready HTML for search engines and AI crawlers out of the box Caching rules changed several times between versions and take time to learn
One project for the interface, API and server logic Some features work best on Vercel; self-hosting needs more setup
Large community and official integration with React's newest features Frequent major releases mean regular migrations
Turbopack makes builds and the development server fast Large framework with its own conventions

How do you start with Next.js?

Next.js 16 requires Node.js 20.9 or later. A new project with TypeScript, the App Router and Turbopack is created with one command:

bash
npx create-next-app@latest my-app
cd my-app
npm run dev

The development server opens at http://localhost:3000. The official course at nextjs.org/learn walks through routing, data loading and deployment. Basic knowledge of React and TypeScript makes the start much easier.

Sources

  1. Next.js Docs — Vercel (accessed 30 November 2026)
  2. Next.js 16 — Next.js Blog (accessed 30 November 2026)
  3. Next.js 16.4 — Next.js Blog (accessed 30 November 2026)
  4. ZEIT is now Vercel — Vercel (accessed 30 November 2026)
  5. vercel/next.js — GitHub (accessed 30 November 2026)
  6. next — npm — npm (accessed 30 November 2026)

Also available in: Русский · Қазақша