Gatsby is an awesome static site generator, and in this tutorial I'll look at how to implement pagination using Gatsby.
Gatsby has a large set of APIs, and one of them is to programmatically create new pages. In this tutorial we'll use this API to create detail pages for each blogpost.
If you want to use WordPress as a headless CMS with Gatsby, I'll demonstrate how you can achieve this in this tutorial.