DEV Community

Discussion on: Finding joy in WordPress again, with React, Gatsby & GraphQL

Collapse
 
jasonbahl profile image
Jason Bahl • Edited

Definitely check out WPGraphQL (github.com/wp-graphql/wp-graphql)! Gatsby's new WordPress Source plugin will deprecate support for the WP REST API and will use WPGraphQL on the WordPress Server.

You can read more about it here: github.com/gatsbyjs/gatsby/issues/...

Thread Thread
 
jmau111 profile image
jmau111 🦄

Hi Jason,

What's the best way ? wait for the v4 or use the gastby-source-graphql plugin ?

Thread Thread
 
jasonbahl profile image
Jason Bahl

Like most things in tech: "It depends"

If you have something you need to deliver now, I'd probably suggest using WPGraphQL + Gatsby Source GraphQL.

If you're just experimenting and looking for long term structure, I'd probably wait for the new source plugin as that will have a lot of things specifically optimized for the Gatsby + WordPress experience.