CLM-0001
Next.js is a React framework for building full-stack web applications.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0002
In Next.js, you build user interfaces with React Components, and Next.js adds features and optimizations.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0003
Next.js configures lower-level tools such as bundlers and compilers automatically.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0004
Next.js has two routers: the App Router and the Pages Router.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0005
The App Router is the newer router and supports React features like Server Components.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0006
The Pages Router is the original router, is still supported, and is being improved.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0007
The App Router uses React canary releases built in.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0008
The App Router uses React canary releases built in.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0009
The React canary releases built into the App Router include all stable React 19 changes plus newer features being validated in frameworks.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/index.mdx 1 verified Re-check this claim
CLM-0010
The React canary releases built into the App Router include all stable React 19 changes plus newer features being validated in frameworks.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0011
You should still declare react and react-dom in package.json for tooling and ecosystem compatibility.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0012
The Pages Router uses the React version from your package.json.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0013
The documented scripts are next dev, next build, next start, and eslint.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0014
next dev starts the development server using Turbopack, which is the default bundler.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0015
To use Webpack, you run next dev --webpack or next build --webpack.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0016
In the App Router, you create an app folder containing a layout.tsx file.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0017
The layout.tsx file in the app folder is the root layout, which is required and must contain the <html> and <body> tags.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0018
To update to the latest version, you run next upgrade through your package manager, for example npx next upgrade.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx 1 verified Re-check this claim
CLM-0019
Versions before Next.js 16.1.0 do not support the upgrade command and need npx @next/codemod@canary upgrade latest instead.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx 1 verified Re-check this claim
CLM-0020
To move to canary, you first make sure you are on the latest version and everything works, and then run, for example, npm i next@canary.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx 1 verified Re-check this claim
CLM-0021
Features listed as available in canary include forbidden, unauthorized, forbidden.js, unauthorized.js, and authInterrupts.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx 1 verified Re-check this claim
CLM-0022
npx @next/codemod upgrade [revision] accepts patch, minor, major, an npm dist tag such as canary, or an exact version.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0023
npx @next/codemod upgrade [revision] defaults to minor for stable versions.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0024
If the target version is the same as or lower than your current version, npx @next/codemod upgrade exits without making changes.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0025
--yes skips every interactive prompt in the upgrade codemod.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0026
--yes is enabled automatically when stdin is not a TTY.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0027
npx next@canary upgrade --agent=latest has a coding agent perform and verify the upgrade.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx 1 verified Re-check this claim
CLM-0028
npx next@canary upgrade --agent=latest has a coding agent perform and verify the upgrade.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/agent-upgrade.mdx 1 verified Re-check this claim
CLM-0029
The agent upgrade has three policies: security, latest, and experimental-future.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/agent-upgrade.mdx 1 verified Re-check this claim
CLM-0030
If you omit the policy in the agent upgrade command, it uses the string value of experimental.agentUpgrade, or otherwise uses security.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/agent-upgrade.mdx 1 verified Re-check this claim
CLM-0031
--agent cannot be combined with --revision.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/agent-upgrade.mdx 1 verified Re-check this claim
CLM-0032
The Version 16 guide recommends the agent route and also documents a manual route using the upgrade codemod.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0033
The upgrade codemod does not run every migration.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0034
If your app still uses synchronous params, searchParams, cookies(), headers(), or draftMode(), you should also run npx @next/codemod@canary next-async-request-api .https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0035
Next.js supports Chrome 111+, Edge 111+, Firefox 111+, and Safari 16.4+ with zero configuration.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 1 verified Re-check this claim
CLM-0036
You can target other browsers through Browserslist configuration in package.json.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 1 verified Re-check this claim
CLM-0037
Next.js injects widely used polyfills, including fetch(), URL, and Object.assign().https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 1 verified Re-check this claim
CLM-0038
Next.js loads these polyfills only for browsers that need them.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 1 verified Re-check this claim
CLM-0039
Polyfills for features outside the Next.js baseline must be added yourself.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 0.9 verified Re-check this claim
CLM-0040
In the App Router, you can import polyfills in instrumentation-client.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/supported-browsers.mdx 1 verified Re-check this claim
CLM-0041
Only synchronous, top-level code in instrumentation-client runs before hydration.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/instrumentation-client.mdx 1 verified Re-check this claim
CLM-0042
A conditional import() in instrumentation-client may be applied after hydration has begun, so polyfills should be statically imported instead.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/instrumentation-client.mdx 1 verified Re-check this claim
CLM-0043
A Server Function is an asynchronous function that runs on the server.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0044
You call a Server Function from the client through a network request, which is why it must be asynchronous.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0045
In an action or mutation context, Server Functions are also called Server Actions.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0046
Actions use the POST method, and only POST can invoke them.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0047
Server Functions are reachable by direct POST requests, not just through your UI.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0048
The docs say to verify authentication and authorization inside every Server Function.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/07-mutating-data.mdx 1 verified Re-check this claim
CLM-0049
Next.js automatically encrypts variables that a Server Action closes over.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/data-security.mdx 1 verified Re-check this claim
CLM-0050
A new private key is generated for each action on every build, so actions can only be invoked for a specific build.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/data-security.mdx 1 verified Re-check this claim
CLM-0051
The docs do not recommend relying on encryption alone to protect sensitive values in Server Actions.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/data-security.mdx 1 verified Re-check this claim
CLM-0052
The use cache directive caches the return value of async functions and components, at the data level or the UI level.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0053
The docs recommend pairing every cache directive with cacheLife, and without one, the implicit default profile applies.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0054
At build time, Next.js produces a static shell: HTML for initial loads plus a serialized RSC Payload for client navigation.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0055
Producing a static shell at build time is called Partial Prerendering (PPR), which is the default with Cache Components.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0056
To get a unique value per request, call connection() before the operation and wrap the component in <Suspense>, or alternatively cache the result with use cache so all users share one value.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0057
Next.js 16 removes the experimental PPR flag and the experimental_ppr segment config.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0058
In Next.js 16, you opt into PPR with cacheComponents.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0059
If you use PPR today, the docs say to stay on your current Next.js 15 canary.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0060
partialPrefetching should be set explicitly, and leaving it unset logs a warning.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/08-caching.mdx 1 verified Re-check this claim
CLM-0061
With ISR under Cache Components, a URL whose params were not listed in generateStaticParams is served the App Shell instantly, Next.js upgrades it in the background, and later visits get the upgraded result.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/incremental-static-regeneration-cache-components.mdx 1 verified Re-check this claim
CLM-0062
Cache Components requires Next.js 16 and replaces experimental.dynamicIO and experimental.useCache.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx 1 verified Re-check this claim
CLM-0063
After you enable cacheComponents, route segments that still export dynamic, revalidate, or fetchCache will error.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx 1 verified Re-check this claim
CLM-0064
Setting instant = false on a segment marks it as allowed to block.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx 1 verified Re-check this claim
CLM-0065
Setting instant = false does not clear synchronous IO build errors from calls like new Date(), Math.random(), or crypto.randomUUID().https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx 1 verified Re-check this claim
CLM-0066
The cache-components-instant-false codemod adds the instant = false opt-out to every page, layout, and default file that does not already export instant.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx 1 verified Re-check this claim
CLM-0067
The cache-components-instant-false codemod adds the instant = false opt-out to every page, layout, and default file that does not already export instant.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx 1 verified Re-check this claim
CLM-0068
With Cache Components, a session read happens at request time, so it cannot be prerendered into the static shell, and authenticated UI streams in behind <Suspense>.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx 1 verified Re-check this claim
CLM-0069
Reading cookies() or headers() inside a plain use cache function throws.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx 1 verified Re-check this claim
CLM-0070
To use cookies() or headers() with caching, read the request outside and pass the value in, or use use cache: private.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx 1 verified Re-check this claim
CLM-0071
The middleware file convention is deprecated in Next.js 16 and renamed to proxy, while functionality stays the same and only the file and export names change.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/middleware.mdx 1 verified Re-check this claim
CLM-0072
The middleware file convention is deprecated in Next.js 16 and renamed to proxy, while functionality stays the same and only the file and export names change.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/middleware.mdx 1 verified Re-check this claim
CLM-0073
npx @next/codemod@canary middleware-to-proxy . renames the middleware file and function to proxy.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/proxy.mdx 1 verified Re-check this claim
CLM-0074
The edge runtime is not supported in proxy; its runtime is nodejs and cannot be configured.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0075
To keep using the edge runtime, you must keep using middleware.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx 1 verified Re-check this claim
CLM-0076
forbidden.js renders UI when forbidden is invoked, returning a 403 before streaming starts and staying 200 after streaming starts.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/forbidden.mdx 1 verified Re-check this claim
CLM-0077
unauthorized.js renders UI when unauthorized is invoked, returning a 401 before streaming and 200 after.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/unauthorized.mdx 1 verified Re-check this claim
CLM-0078
forbidden.js injects a noindex robots meta tag and does not accept props.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/forbidden.mdx 1 verified Re-check this claim
CLM-0079
unauthorized.js injects a noindex robots meta tag and does not accept props.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/unauthorized.mdx 1 verified Re-check this claim
CLM-0080
Next.js sends forbidden.js with every route under its segment, even if the function is never called, so the docs prefer Server Components and <Link> over interactive UI there.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/forbidden.mdx 1 verified Re-check this claim
CLM-0081
Next.js sends unauthorized.js with every route under its segment, even if the function is never called, so the docs prefer Server Components and <Link> over interactive UI there.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/unauthorized.mdx 1 verified Re-check this claim
CLM-0082
Version history lists forbidden.js as introduced in v15.1.0.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/forbidden.mdx 1 verified Re-check this claim
CLM-0083
Environment variable lookup order, stopping at the first match, is: process.env, .env.$(NODE_ENV).local, .env.local, .env.$(NODE_ENV), then .env.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx 1 verified Re-check this claim
CLM-0084
.env.local is not checked when NODE_ENV is test.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx 1 verified Re-check this claim
CLM-0085
If NODE_ENV is unassigned, Next.js sets development for next dev and production for all other commands.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx 1 verified Re-check this claim
CLM-0086
The minimum platform requirement for self-hosting is a Node.js server, and a single next start process handles every Next.js feature.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx 1 verified Re-check this claim
CLM-0087
sharp is required for Image Optimization.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx 1 verified Re-check this claim
CLM-0088
By default, cache assets are stored in memory (50mb default) and on disk.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/self-hosting.mdx 1 verified Re-check this claim
CLM-0089
In multi-pod setups you can configure cacheHandler and set cacheMaxMemorySize: 0 to disable in-memory caching.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/self-hosting.mdx 1 verified Re-check this claim
CLM-0090
The cacheHandler class implements get, set, revalidateTag, and resetRequestCache.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/self-hosting.mdx 1 verified Re-check this claim
CLM-0091
cacheHandlers (plural) configures backends for 'use cache'.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/self-hosting.mdx 1 verified Re-check this claim
CLM-0092
cacheHandlers (plural) configures backends for 'use cache'.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx 1 verified Re-check this claim
CLM-0093
A verified adapter must be open source and must run the compatibility test suite.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx 1 verified Re-check this claim
CLM-0094
Next.js generates a build ID during next build, and you can set generateBuildId to keep it consistent across containers.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/self-hosting.mdx 1 verified Re-check this claim
CLM-0095
Fast Refresh preserves local state for function components and Hooks, but not for class components.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/fast-refresh.mdx 1 verified Re-check this claim
CLM-0096
Adding // @refresh reset to a file forces its components to remount on every edit.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/fast-refresh.mdx 1 verified Re-check this claim
CLM-0097
Hooks with dependencies, such as useEffect, useMemo, and useCallback, always update during Fast Refresh.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/03-architecture/fast-refresh.mdx 1 verified Re-check this claim
CLM-0098
Instrumentation is set up with an instrumentation.ts|js file in the project root, or inside src if you use one.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/instrumentation.mdx 1 verified Re-check this claim
CLM-0099
The exported register function in the instrumentation file is called once when a new server instance starts.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/instrumentation.mdx 1 verified Re-check this claim
CLM-0100
The Next.js 16+ dev server runs a built-in MCP endpoint at /_next/mcp.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/mcp.mdx 1 verified Re-check this claim
CLM-0101
The built-in MCP endpoint is enabled by default and can be disabled with experimental.mcpServer: false.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/mcp.mdx 1 verified Re-check this claim
CLM-0102
Nonce-based CSP means pages are dynamically rendered, with static optimization and ISR disabled, and PPR is incompatible with nonce-based CSP.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/content-security-policy.mdx 1 verified Re-check this claim
CLM-0103
Without nonces, you can set the CSP header via headers() in next.config.js.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/content-security-policy.mdx 1 verified Re-check this claim
CLM-0104
Running next dev creates and updates managed documentation instructions in AGENTS.md by default, and agentRules: false disables this.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx 1 verified Re-check this claim
CLM-0105
Next.js 16.1 and earlier do not include bundled docs, and the legacy agents-md codemod downloads a version-matched copy instead.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx 1 verified Re-check this claim
CLM-0106
Upgrading also updates the documentation bundled in node_modules/next/dist/docs/.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx 1 verified Re-check this claim
CLM-0107
Every docs page has a Markdown version at its .md URL, and /docs/llms.txt and /docs/llms-full.txt are also provided.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx 1 verified Re-check this claim
CLM-0108
Rspack integration (next-rspack) is a community plugin and is currently experimental.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/04-community/02-rspack.mdx 1 verified Re-check this claim
CLM-0109
experimental.useOffline keeps a failed navigation, RSC fetch, prefetch, or Server Action pending and retries it when the connection returns.https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/offline-support.mdx 1 verified Re-check this claim