next.js/test/e2e/app-dir/fallback-shells/app/with-cached-io/with-static-params/layout.jsx
layout.jsx18 lines376 B
'use cache'

import { getSentinelValue } from '../sentinel'

export default async function Layout({ children }) {
  return (
    <html>
      <body>
        <div id="root-layout">
          Root Layout: {new Date().toISOString()} ({getSentinelValue()})
        </div>
        <p>This page does define some static params.</p>
        {children}
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN