next.js/test/e2e/app-dir/segment-cache/prefetch-inlining-no-cache-components/app/layout.tsx
layout.tsx31 lines672 B
import { LinkAccordion } from '../components/link-accordion'

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html>
      <body>
        <ul>
          <li>
            <LinkAccordion href="/static-page">Static page</LinkAccordion>
          </li>
          <li>
            <LinkAccordion href="/dynamic-page" prefetch={true}>
              Dynamic page
            </LinkAccordion>
          </li>
          <li>
            <LinkAccordion href="/dynamic-edge" prefetch={true}>
              Dynamic edge
            </LinkAccordion>
          </li>
        </ul>
        {children}
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN