Subscribe

DevelopmentNews

Next.js 12

Next.js 12 introduces a brand-new Rust compiler, Middleware (beta), React 18 Support, Native ESM Support, URL Imports, React Server Components (alpha), and more!

Published By Tim Neutkens · 1 min read

As we announced at Next.js Conf , Next.js 12 is our biggest release ever:

Update today by running npm i next@latest .

We want to make every Next.js application build faster for production, and get instant feedback in local development. Next.js 12 includes a brand new Rust compiler that takes advantage of native compilation.

Our Rust compiler is built on SWC , an open platform for the next generation of fast tooling. We've optimized bundling and compiling with ~ 3x faster refresh locally and ~ 5x faster builds for production. Other improvements and features include:

Compilation using Rust is 17x faster than Babel and enabled by default using Next.js 12, replacing transforming JavaScript and TypeScript files.

This is an excerpt. The full article is published by Next.js Blog.

Continue reading at Next.js Blog