import React from 'react'
import Link from 'next/link'

export async function getStaticProps({ params }) {
  return {
    props: {
      lotsOfData: new Array(128 * 1000).fill('a').join(''),
    },
    revalidate: false,
  }
}

export default (props) => {
  return (
    <>
      <p>lots of data returned</p>
      <Link href="/">
        <a id="home">to home</a>
      </Link>
      <br />
      <Link href="/another">
        <a id="another">to another</a>
      </Link>
    </>
  )
}
