Gatsby Sanity Source Query - Is GROQ Better Than GraphQL?

2 replies
Last updated: Aug 25, 2020
Is it commonplace to use the JS GROQ client library instead of GraphQL to query a Sanity datastore in Gatsby? It seems that GROQ has a few features that make it more powerful than GraphQL for querying Sanity documents, but the gatsby-sanity-source plugin and most online examples point to just sticking with GraphQL.
Aug 23, 2020, 6:49 PM
Thank you!
Aug 25, 2020, 6:13 AM

Sanityโ€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?