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

19 lines
393 B
TypeScript

import { connection } from 'next/server'
export const instant = {
level: 'experimental-error',
unstable_disableDevValidation: true,
}
export default async function Page() {
await connection()
return (
<main>
<p>
This page has <code>unstable_disableDevValidation: true</code>, so
validation is disabled in dev but runs in build.
</p>
</main>
)
}