Course lesson
Now that Apollo Client is set up and ready to be used, we can finally query data from Fauna to use in our application.
Now that Apollo Client is set up and ready to be used, we can finally query data from Fauna to use in our application.
We'll go to the Fauna GraphiQL playground and copy the findShopById query that we ran previously. This query will be passed into Apollo's useQuery hook.
Course lesson
Now that Apollo Client is set up and ready to be used, we can finally query data from Fauna to use in our application.