import { cookies } from 'next/headers' import { Suspense } from 'react' import { cachedDelay, DebugRenderKind } from '../shared' export default async function Layout({ children }) { return (

Shared layout

This shared layout uses cookies and no uncached IO, so it should be completely runtime-prefetchable.

Loading 1...
}>
{children}
) } async function RuntimePrefetchable() { const cookieStore = await cookies() const cookieValue = cookieStore.get('testCookie')?.value ?? null await cachedDelay([__filename, cookieValue]) return (
) }