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

23 lines
383 B
TypeScript

type ServerSidePropsPageProps = {
timestamp: number
}
export function getServerSideProps() {
return {
props: {
timestamp: Date.now(),
},
}
}
export default function ServerSidePropsPage({
timestamp,
}: ServerSidePropsPageProps) {
return (
<div>
<h1>Pages getServerSideProps</h1>
<p id="server-side-timestamp">{timestamp}</p>
</div>
)
}