next.js/test/e2e/app-dir/segment-cache/prefetch-inlining/app/test-instant-false-root/layout.tsx
layout.tsx11 lines297 B
import { ReactNode } from 'react'
import { connection } from 'next/server'

export const unstable_instant = false
export const unstable_prefetch = 'force-disabled'

export default async function Layout({ children }: { children: ReactNode }) {
  await connection()
  return <div>{children}</div>
}
Quest for Codev2.0.0
/
SIGN IN