| const Page = () => 'Hello world 👋' | |
| // we add getServerSideProps to prevent static optimization | |
| // to allow us to compare server-side changes | |
| export const getServerSideProps = () => { | |
| return { | |
| props: {}, | |
| } | |
| } | |
| export default Page | |
| const Page = () => 'Hello world 👋' | |
| // we add getServerSideProps to prevent static optimization | |
| // to allow us to compare server-side changes | |
| export const getServerSideProps = () => { | |
| return { | |
| props: {}, | |
| } | |
| } | |
| export default Page | |