ssr with getserversideprops nextjs

If you export an async function called getServerSideProps from a page, Next.js will pre-render this page on each request using the data returned by getServerSideProps.

ssr with getserversideprops nextjs