Quest for Codev2.0.0
/
SIGN IN
next.js/test/e2e/app-dir/instant-validation-static-shells/fixtures/invalid-blocking-page-below-static/app/blocking-page-below-static/page.tsx
page.tsx19 lines516 B
import { connection } from 'next/server'

export const unstable_instant = false

export default async function Page() {
  await connection()
  return (
    <main>
      <p>
        This is a blocking page. It is configured with{' '}
        <code>unstable_instant = false</code>, but it's located under a layout
        with <code>{`unstable_instant = { prefetch: 'static' }`}</code>.
        Ideally, we'd honor the static assertion and require that a static shell
        is produced.
      </p>
    </main>
  )
}