Next.js 16.2 includes performance improvements, better debugging, improvements for Agents, and over 200 Turbopack fixes and improvements.
We also published dedicated deep-dive posts for two major areas of this release:
Upgrade today, or get started with:
We've significantly improved the time it takes before localhost:3000 is ready during next dev . On the same machine and project, startup is ~87% faster compared to Next.js 16.1 on the default application.
We contributed a change to React that makes Server Components payload deserialization up to 350% faster. The previous implementation used a JSON.parse reviver callback, which crosses the C++/JavaScript boundary in V8 for every key-value pair in the parsed JSON.
This is an excerpt. The full article is published by Next.js Blog.
Answers to common questions regarding this article's topic, architecture, and practical applications.
We've significantly improved the time it takes before localhost:3000 is ready during next dev. On the same machine and project, startup is ~87% faster compared to Next.js 16.1 on the default application.
General
The default error page shown in production has been redesigned. When your application encounters an error and you haven't defined a custom global-error.tsx or error.tsx, Next.js renders a built-in fallback page. This fallback has been updated with a cleaner, more modern design.
General
We contributed a change to React that makes Server Components payload deserialization up to 350% faster. The previous implementation used a JSON.parse reviver callback, which crosses the C++/JavaScript boundary in V8 for every key-value pair in the parsed JSON. Even a trivial no-op reviver makes JSON.parse roughly 4x slower than without one. The new approach uses a two-step process: plain JSON.parse() followed by a recursive walk in pure JavaScri
General
Next.js 16.2 includes performance improvements, better debugging, improvements for Agents, and over 200 Turbopack fixes and improvements.
How It Works
When a hydration mismatch occurs, the error overlay now clearly labels which content came from the server and which from the client. The diff uses a + Client / - Server legend, making it immediately clear what diverged. The hydration diff indicator showing client/server content differences