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

14 lines
319 B
TypeScript

import { Suspense } from 'react'
export const instant = { level: 'experimental-error' }
export default function StaticLayout({ children }) {
return (
<div>
<p>The layout wraps children with Suspense.</p>
<hr />
<Suspense fallback={<div>Loading...</div>}>{children}</Suspense>
</div>
)
}