silverwolf-x's picture
download
raw
390 Bytes
import { useRouter } from 'next/router'
export default function Page(props) {
const router = useRouter()
return (
<>
<p>getStaticProps router.isReady</p>
<p id="query">{JSON.stringify(router.query)}</p>
<p id="ready">{router.isReady ? 'yes' : 'no'}</p>
</>
)
}
export function getStaticProps() {
return {
props: {
now: Date.now(),
},
}
}

Xet Storage Details

Size:
390 Bytes
·
Xet hash:
765974d56a72a29d1157d0e44aa29ec7adb6666f505269acc9aca7920dd07f08

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.