Files
Josh StoryandGitHub d424aa8ec4 Stabilize unstable_instant (#94578)
This API has experimental modes for build validation but the dev
validation is going to be stable in the next release.
2026-06-09 13:50:25 -07:00

21 lines
705 B
TypeScript

import { type ReactNode } from 'react'
// Validation level is 'manual-warning' (set in next.config.ts).
//
// No Suspense around `{children}`, so a violating bare page (runtime data
// at the top, no Suspense) leaves the static shell empty.
//
// Crucially, this layout does NOT export `instant = false`. If it
// did, `isPageAllowedToBlock` would mark every route under this layout as
// blocking-allowed, which suppresses the static-shell empty-shell error.
// We want that error to surface here as the contrast against the
// `with-root-suspense/` tree.
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html>
<body>{children}</body>
</html>
)
}