user-avatar

Kyle J. Roux

jstacoder

Developer Program Member

a python/javascript/php/linux guru ready to take on the world...

CasePeer
orange, CA, USA
https://jstacoder.github.io

Home

Using Graphql in Gatsbyjs

Published Jun 9, 2019

1 min read

Graphql why?

You may have heard about Gatsby and that it uses graphql

This may cause you to ask:

Why GraphQL? Do i really need to learn this to make use of Gatsby?

So to answer your question:

Because GraphQL is BaddASS and yes you need to learn it

but don’t worry, it’s not that hard.

Lets look at what it means to query things in graphql:

  • first we will go over graphql query syntax and schema definitions
  • then well look at what data we would query for in Gatsby and why
  • and we will tie it all together by showing how to get the data in Gatsby using graphql queries

What is a graphql query?