rembrembdocs

runtime

Last updated April 23, 2026

The runtime option allows you to select the JavaScript runtime used for rendering your route.

layout.tsx | page.tsx | route.ts

JavaScriptTypeScript

export const runtime = 'nodejs'
// 'nodejs' | 'edge'

Good to know:

  • Using runtime: 'edge' is not supported for Cache Components.
  • This option cannot be used in Proxy.

Was this helpful?