mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This API has experimental modes for build validation but the dev validation is going to be stable in the next release.
13 lines
264 B
TypeScript
13 lines
264 B
TypeScript
import { cookies } from 'next/headers'
|
|
|
|
export const instant = { level: 'experimental-error' }
|
|
|
|
export default async function Page() {
|
|
await cookies()
|
|
return (
|
|
<main>
|
|
<p>This page blocks when navigating inside the parent layout</p>
|
|
</main>
|
|
)
|
|
}
|