Gatsby & WordPress - 5.4. - Creating a Custom Data Source Gatsby Plugin

by Jack Pritchard

Hey! Just so you know, this article is over 2 years old. Some of the information in it might be outdated, so take it with a grain of salt. I'm not saying it's not worth a read, but don't take everything in it as gospel. If you're curious about something, it never hurts to double-check with a more up-to-date source!

In this video, we cover how you can enable a custom data source for you Gatsby GraphQL schema.

I used the YouTube and Dribbble APIs to pull in JSON information which is then resolved as nodes within the Gatsby GraphQL schema, allowing me to build components and pages using the new data-sources as we commonly would when creating components and pages programmatically.