Functions

unstable_noStore: Migration reference

Historical opt-out from static rendering, superseded by connection for new code. Do not read it as a blanket invalidation of every data or client cache; caching still depends on the surrounding context. Migrate request-dependent rendering explicitly and verify the route behavior. Example context: Next.js 16.x documentation lane; illustrative snippet or file tree, not executed. Exact candidate patch 16.4.6 remains unverified. Expected behavior / verification: Compare request-time observations against an await connection() fixture. Do not claim that a static text heading proves dynamic execution.

Formal Syntax & Structure

nextjs syntaxnextjs
unstable_noStore(): void

Working Example

Example Snippetnextjs
// Historical example — Cache Components disabledimport { unstable_noStore as noStore } from 'next/cache';export default function Page() { noStore(); return <p>Request-time page</p>; }
Next.js Reference