import React from 'react' import Link from 'next/link' import { useRouter } from 'next/router' export async function getStaticProps({ params }) { return { props: { world: 'world', params: params || {}, time: new Date().getTime(), random: Math.random(), }, unstable_revalidate: false, } } export default ({ world, time, params, random }) => { return ( <>
hello: {world}
time: {time}