next.js/test/integration/telemetry/_app/use-cache/page2/page.jsx
page.jsx10 lines212 B
async function getCachedRandom(n) {
  'use cache: custom'
  return String(Math.ceil(Math.random() * n))
}

export default async function Page() {
  'use cache: custom'
  return 'Page 2: ' + getCachedRandom(10)
}
Quest for Codev2.0.0
/
SIGN IN