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/...
What's the best way ? wait for the v4 or use the gastby-source-graphql plugin ?
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.
Very fair ! Thanks Jason.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.