~/talk

Your First Headless WordPress Project with ReactJS and GraphQL

Talkat WordCamp Montréal 2018 · 2018-08-11..08-12· [react, wordpress]
links:none on file
slides:none on file

Shows how to build a headless WordPress front end that queries one GraphQL endpoint to fetch posts plus author, category and media in a single request (demo returns the first 10 posts). Uses the WP GraphQL plugin, GraphiQL playground, create-react-app and react + react-apollo; setup includes installing Apollo and wrapping the app in Apollo Provider. Demonstrates query syntax, avoids REST over‑ and under‑fetching, uses Apollo Client caching, and the demo renders quickly and works end‑to‑end.

AI-written summary · about

  1. 0:00Start
  2. 5:04ADVANTAGES OF HEADLESS CMS
  3. 9:01REST API desavantages
  4. 15:04GRAPHQL options
  5. 18:40WORDPRESS SETUP
  6. 28:04APOLLO-BOOST CLIENT SETUP In your component, use Query component
  7. 34:50Download the slides
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.