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

15 lines
597 B
TypeScript

import { type ReactNode } from 'react'
// This intermediate layout exports `instant = false`. The walker
// treats `false` as a per-segment no-op — it doesn't suppress validation
// of descendant page/default segments. So the bare page under this layout
// should still be implicitly validated under 'warning'.
//
// The `false` here only "shields" this layout's own load from being
// considered blocking; it does not act as a global opt-out for the route.
export const instant = false
export default function LayeredLayout({ children }: { children: ReactNode }) {
return <>{children}</>
}