React 18

Next.js 13 requires using React 18, unlocking:

Streaming SSR

In Next.js 13, you can start using the app/ directory (beta) to take advantage of streaming server-rendering. Learn more by reading the app/ directory (beta) documentation:

Deploy the app/ directory example to try Streaming SSR.

React Server Components

In Next.js 13, you can start using the app/ directory (beta) which use Server Components by default. Learn more by reading the app/ directory (beta) documentation:

Deploy the app/ directory example to try Server Components.

Edge and Node.js Runtimes

Next.js has two server runtimes where you can render parts of your application code: the Node.js Runtime and the Edge Runtime. Depending on your deployment infrastructure, both runtimes support streaming.

By default, Next.js uses the Node.js runtime. Middleware and Edge API Routes use the Edge runtime.

Learn more about the different runtimes.