Quest for Codev2.0.0
/
SIGN IN
next.js/test/e2e/app-dir/instant-validation-static-shells/fixtures/valid/app/blocking-root-layout/layout.tsx
layout.tsx21 lines469 B
import { connection } from 'next/server'

export const unstable_instant = false

export default async function RootLayout({ children }) {
  await connection()
  return (
    <html>
      <body>
        <p>
          This is a blocking root layout. It is configured with{' '}
          <code>unstable_instant = false</code>, so it should not be required to
          produce a static shell.
        </p>
        <hr />
        {children}
      </body>
    </html>
  )
}