Gatsby & WordPress - 5.4. - Creating a Custom Data Source Gatsby Plugin
Hey! This post's a little over two years old now, so some of what's here might be out of date. Still worth a read, but if anything really matters to you, it's worth double-checking against a newer source too.
In this video, we cover how you can enable a custom data source for your 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.