Course lesson
A Next.js page component has two interesting functions getStaticProps and getStaticPaths.
A Next.js page component has two interesting functions getStaticProps and getStaticPaths.
In this lesson we're going to look into getStaticProps to get a basic understanding of what it does and why it will be useful for our final target of creating a statically rendered portfolio site with Next.js
Prefer to read along as well? Here's the accompanying article.
Course lesson
A Next.js page component has two interesting functions getStaticProps and getStaticPaths.