12/16/2020
•
EN
Query an API at both build time and runtime with Next.js
Learn how to fetch API data at build time with getStaticProps and at runtime with React hooks in a Next.js application.