Files
JJ KasperandGitHub e20f127a1f Fix missing non-deferred turbopack build items (#89616)
This expands test suite for deferred entries experimental handling and
fixes missing handling for metadata routes and route handlers when
building the non-deferred entries.
2026-02-06 21:24:51 -08:00

20 lines
377 B
TypeScript

import { connection } from 'next/server'
import { Suspense } from 'react'
async function DynamicCurrentTime() {
await connection()
return <p id="current-time">{Date.now()}</p>
}
export default function CurrentTimePage() {
return (
<div>
<h1>Current Time</h1>
<Suspense fallback={null}>
<DynamicCurrentTime />
</Suspense>
</div>
)
}