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