next.js/test/e2e/app-dir/dynamic-data/fixtures/cache-scoped/app/layout.js
layout.js24 lines570 B
import { Suspense } from 'react'

export default async function Layout({ children }) {
  return (
    <html lang="en">
      <head>
        <title>app-dynamic-data</title>
      </head>
      <body>
        <p>
          This test fixture helps us assert that accessing dynamic data in
          various scopes and with various `dynamic` configurations works as
          intended
        </p>
        <main>
          <Suspense fallback={<div id="boundary">loading...</div>}>
            {children}
          </Suspense>
        </main>
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN