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.
15 lines
441 B
TypeScript
15 lines
441 B
TypeScript
// Bare page (no `instant` config) sitting under a layout that
|
|
// exports `instant = false`. Under 'warning', implicit validation
|
|
// should still fire for this page in dev — the layout's `false` doesn't
|
|
// shield descendants.
|
|
import { connection } from 'next/server'
|
|
|
|
export default async function Page() {
|
|
await connection()
|
|
return (
|
|
<main>
|
|
<p>layered: bare page under a layout with `instant = false`.</p>
|
|
</main>
|
|
)
|
|
}
|