Syntax - Tasty Web Development Treats
GraphQL and WordPress

GraphQL and WordPress

Syntax - Tasty Web Development Treats

1:04:15

About this episode

In this episode of Syntax, Scott and Wes talk with Jason Bahl (author of WPGraphQL) about GraphQL, headless WordPress, frameworks in WordPress, React in WordPress, and more!
Sanity - Sponsor Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.
Show Notes 4:55 - Data in WordPress
6:26 - WPGraphQL
10:31 - What were your initial thoughts/first experiences with GraphQL?
16:58 - Does it use MySQL queries or wpQuery?
19:36 - How does authentication work?
24:38 - What does the WP local dev experience look like in 2019?
26:49 - What about deployment? How do you handle migrating data?
30:10 - How does WPGraphQL handle mutations?
32:46 - What are the preferred hosting methods for a headless WordPress setup?
36:44 - Do you see any push back about giving up much of what WordPress gives you out of the box?
41:23 - What are techniques for preventing all of WordPress from loading When you’re using it exclusively for the API?
43:40 - How does WPGraphQL support custom post types, taxonomies and fields, etc?
Links WPGraphQL
Kyle Mathews
GraphQL
Gatsby
WordPress
Meteor
Apollo GraphQL
GraphiQL
WPGraphiQL
WAMP
Flywheel
Local by Flywheel
PhpStorm
Lando
Laravel
React
Netlify
Jason Schuller
Leeflets
Press75
Advanced Custom Fields
WPGraphQL Tax Query
WPGraphQL Meta Query
WPGraphQL for Advanced Custom Fields
Jason’s Twitter
WPGraphQL Twitter
××× SIIIIICK ××× PIIIICKS ××× Scott: Figma

Wes: CalDigit TS3 Plus Thunderbolt 3 Dock

Jason: Local by Flywheel

Shameless Plugs Scott’s new course - Dev Tools & Debugging

Wes - All Courses - Use the coupon code ‘Syntax’ for $10 off!
Jason - WPGraphQL
Jason - Gatsby
Tweet us your tasty treats! Scott’s Instagram
LevelUpTutorials Instagram
Wes’ Instagram
Wes’ Twitter
Wes’ Facebook
Scott’s Twitter
Make sure to include @SyntaxFM in your tweets

More from Syntax - Tasty Web Development Treats

Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share an entry-level setup for recording video les…

1h 6m

Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus Bombadil’s property-based testing for web UIs. They…

1h 11m

Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of our code. They discuss going zero dependencies, a 5x smaller bundl…

50m

Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and the infrastructure overhaul decoupling storage from compute. P…

31m

Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent again. Plus Anomaly's Hex dictation app, Mitchell…

1h 35m