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
586 B
TypeScript
17 lines
586 B
TypeScript
// No `instant` config on this page, but the page accesses runtime
|
|
// data at the top — a "Suspense too high" pattern that instant validation
|
|
// specifically flags. Under 'manual-warning', instant validation only
|
|
// runs on segments that opt in, so the violation goes unflagged here.
|
|
// With no Suspense in the root layout, the static-shell empty-shell
|
|
// error surfaces instead.
|
|
import { connection } from 'next/server'
|
|
|
|
export default async function Page() {
|
|
await connection()
|
|
return (
|
|
<main>
|
|
<p>bare page (no instant), runtime data at the top.</p>
|
|
</main>
|
|
)
|
|
}
|