Next.js: Fetching data with graphql-request and SWR
In this tutorial we are going to use SWR and graphql-request library to fetch data from a GraphQL API.
Personally I choose these tools because they are really simple to use together and I haven't seem many examples with them.
Before getting started ...
eduardowronscki.hashnode.dev6 min read