In this episode of Learn with Jason, I teach Jason how to use Contentful’s GraphQL API to power Next.js dynamic routes.
⚠️ This post is over two years old and may contain some outdated technical information. Please proceed with caution!
I sat down with Jason Lengstorf to talk about Next.js and teach him how to generate dynamic routes powered by the Contentful GraphQL API.
In this video, we cover:
Using getStaticProps to fetch data for the home page via the Contentful GraphQL API
Using getStaticProps to fetch data for individual dynamic routes with GraphQL
I had a great time on Learn with Jason — and learned a few things along the way, too! I'm excited to speed up my development and deployment process using the Netlify CLI next time I launch a new project.
Thanks for having me, Jason!
Click the video above to play
Resources and links
Salma Alam-Naylor
I'm a live streamer, software engineer, and developer educator. I help developers build cool stuff with blog posts, videos, live coding and open source projects.