next.js/test/e2e/app-dir/instant-validation/app/suspense-in-root/runtime/invalid-blocking-inside-runtime/page.tsx
page.tsx17 lines432 B
import { connection } from 'next/server'

export const unstable_instant = false

export default async function BlockingPage() {
  await connection()
  return (
    <main>
      <p>
        The page is configured as blocking, but the parent layout has an
        assertion, so we'll still perform a validation. This should faild
        because the parent layout doesn't have a suspense around children.
      </p>
    </main>
  )
}
Quest for Codev2.0.0
/
SIGN IN