In Strapi we are going to create pages content type so that we can get the data for our pages from the API instead of hard coding them. For getting those pages in Next.js we are going to be using
getStaticProps instead of
getServerSideProps because we want our pages to be statically generated and to not require any additional requests. Also I'm going to show you the difference between those two types of fetching data.
Like This Video?
Consider supporting me on Patreon.
...or you can share this video, that also helps ;)