import { Suspense } from 'react'
import { cachedDelay, uncachedIO } from '../../shared'
import { cookies } from 'next/headers'
export default function Page() {
return (
Page two
Loading 1...}>
)
}
async function RuntimePrefetchable() {
const cookieStore = await cookies()
const cookieValue = cookieStore.get('testCookie')?.value ?? null
await cachedDelay([__filename, cookieValue])
return (
{`Cookie from page: ${cookieValue}`}
Loading 2... }>
)
}
async function Dynamic() {
await uncachedIO()
return (
Dynamic content from page two
)
}