Files
Josh StoryandGitHub d424aa8ec4 Stabilize unstable_instant (#94578)
This API has experimental modes for build validation but the dev
validation is going to be stable in the next release.
2026-06-09 13:50:25 -07:00

17 lines
469 B
TypeScript

// Page explicitly opts out of instant validation. Under the framework
// default (`'warning'`), this segment-level override suppresses the
// implicit validation that would otherwise fire on a bare page, so no
// redbox appears.
import { connection } from 'next/server'
export const instant = false
export default async function Page() {
await connection()
return (
<main>
<p>explicit-false page (segment opts out of validation).</p>
</main>
)
}