Use Gatsby’s useStaticQuery React Hook to Query Custom Sourced Data for a Web App

Colby Fayock
InstructorColby Fayock

Share this video with your friends

Send Tweet

In this lesson, we'll walk through using Gatsby's useStaticQuery React Hook to request data that we custom sourced from the PokeAPI. We'll copy over a GraphQL query from our GraphQL explorer, clean up the data, and use it to populate Pokemon in our app.