This article will walk you through a simple GraphQL setup for your Next JS app. This guide is aimed at people already familiar with GraphQL, if you are not I recommend you to go through some tutorials first and see what this is all about. Spoiler ale...

Markdown supported · ⌘↵ to post
Ivan Maximiliano Saldano
Nice Tutorial... However, you made an error with the query file name when calling it the pages/index.tsx.
"CountriesQuery.graphql" is the query file name but we imported "./queryCountries.graphql" when calling the query.
Ufere Kalu
Fullstack JavaScript Developer
Very insightful. Thank you ✅