mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This API has experimental modes for build validation but the dev validation is going to be stable in the next release.
21 lines
451 B
TypeScript
21 lines
451 B
TypeScript
import { connection } from 'next/server'
|
|
|
|
export const 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>instant = false</code>, so it should not be required to produce
|
|
a static shell.
|
|
</p>
|
|
<hr />
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|