question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Write a Tutorial from WordPress with WP GraphQL

See original GitHub issue

Summary

Over the weekend, I put some time in getting a WPGraphQL starter together for Gatsby. I’d noticed the other WordPress starters were based on the gatsby-source-wordpress plugin, and not the using gatsby-source-graphql or the WP GraphQL plugin… Bummer!

Also, I noticed there wasn’t a tutorial for this. I’d like to write up a tutorial for sourcing from WordPress using WP GraphQL. Currently, I believe, there’s just this tutorial available.

Two ways I thought of doing this:

  1. Would it be good to add a section at the bottom with the WPGraphQL tutorial, basically keeping the currently tutorial at the top. At the beginning it’d have the option to skip down to the WPGraphQL section, or stay at the top with the gatsby-source-wordpress plugin.
  2. Or, would it be better to write a separate tutorial altogether?

Motivation

This would be great to have for folks wanting to specifically to work with WP GraphQL on their Gatsby site.

Let me know if this would be a good addition to the docs and how I should go about adding it.

Thank you! Nate

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerBarnescommented, Jun 16, 2020

@Kallirroi we’re moving it into beta within the next couple weeks. The plan was to have a release candidate by the end of this month but a few things delayed it. I’d like to be in beta for a while to have a chance to catch any major bugs so it will likely be a month or two longer until it starts being published on gatsby-source-wordpress@v4.

1reaction
n8finchcommented, Apr 21, 2020

Thanks @TylerBarnes ! I’ll follow up with you on Slack if I have any questions. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build your first WPGraphQL Extension
The following written tutorial should be helpful for developers of any ... The first step to building a WordPress plugin is to create...
Read more >
Crash Course: Build a Simple Headless WordPress App with ...
In this tutorial, you will learn how to create a simple headless WordPress app using React and WPGraphQL. This tutorial assumes a basic ......
Read more >
A Beginner's Guide to WPGraphQL - InMotion Hosting
Log into the WordPress Administrator Dashboard. · In the main menu, click on Plugins. · Next, click on Add New. · In the...
Read more >
Using Apollo and GraphQL in a WordPress Theme Tutorial
Apollo & WPGraphQL vs. REST API & WP Fetch API · Getting GraphQL Setup in WordPress · Setting Up Apollo in Our Theme...
Read more >
How To Build a Headless WordPress App With React and ...
Create GraphQL Query. Before we implement our gql and useQuery, let us make a connection between our React application and the WPGraphQL server ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found