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 is looking at you, with a rather large smile. She's pointing across herself up to her left, with a very tatooed arm. She's wearing a black shirt and black rimmed glasses.](https://images.ctfassets.net/56dzm01z6lln/69YokY1TvGVk37gCQmQJDo/c315f0996556c9c1f276d12d5f201a76/headshot_relaxed.png?w=400&q=75)
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.