Instruction: Describe the function and use case of getStaticProps in Next.js.
Context: This question probes the candidate's understanding of data fetching methods in Next.js, specifically focusing on static generation.
easy
easy
easy
medium
medium
medium
medium
hard
hard
hard