next.js/test/development/app-dir/server-hmr/app/module-preservation/page.tsx
page.tsx14 lines346 B
import { evaluatedAt } from '../unmodified-module'

const pageLoadId = Math.random().toString(36).slice(2)

export default function Page() {
  return (
    <div>
      <p id="greeting">hello world</p>
      <p id="page-load-id">Page Load ID: {pageLoadId}</p>
      <p id="module-eval-time">Module Evaluated At: {evaluatedAt}</p>
    </div>
  )
}
Quest for Codev2.0.0
/
SIGN IN