Files
Josh StoryandGitHub d424aa8ec4 Stabilize unstable_instant (#94578)
This API has experimental modes for build validation but the dev
validation is going to be stable in the next release.
2026-06-09 13:50:25 -07:00

18 lines
486 B
TypeScript

import { connection } from 'next/server'
export const instant = false
export default async function Page() {
await connection()
return (
<main>
<p>
This is a blocking page. It is configured with{' '}
<code>instant = false</code>, but it's located under a layout with{' '}
<code>{`instant = { prefetch: 'static' }`}</code>. Ideally, we'd honor
the static assertion and require that a static shell is produced.
</p>
</main>
)
}