import React from 'react' import Link from 'next/link' export async function getStaticProps() { return { props: { slugs: ['post-1', 'post-2'], time: (await import('perf_hooks')).performance.now(), }, revalidate: 10, } } export default ({ slugs, time }) => { return ( <>

Posts: {JSON.stringify(slugs)}

time: {time} to home ) }