next.js/test/e2e/app-dir/instant-validation/app/suspense-in-root/static/missing-suspense-around-runtime/page.tsx
page.tsx16 lines333 B
import { cookies } from 'next/headers'

export const unstable_instant = true

export default async function Page() {
  await cookies()
  return (
    <main>
      <p>
        For a statically prefetchable page, Runtime content needs a Suspense
        boundary, but it's missing here, so we should error
      </p>
    </main>
  )
}
Quest for Codev2.0.0
/
SIGN IN