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.
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import { connection } from 'next/server'
|
|
|
|
export const instant = false
|
|
|
|
export default async function BlockingPage() {
|
|
await connection()
|
|
return (
|
|
<main>
|
|
<p>
|
|
The page is configured as blocking, but the parent layout has an
|
|
assertion, so we'll still perform a validation. This should faild
|
|
because the parent layout doesn't have a suspense around children.
|
|
</p>
|
|
</main>
|
|
)
|
|
}
|