Drupal with and without React, a head to headless comparison
summary
Two small sites compare full Drupal 8 vs Drupal 8 + React: the Drupal-only site (built in about 5 hours) uses paragraphs and Leaflet and delivers fast pages via cache tags and Varnish; the headless site uses create-react-app, Redux, and a custom REST plugin that returns fully populated paragraph payloads so the frontend gets one request. The React version takes roughly four times longer to assemble, supports interactive map marker state (likes update marker icons) and shows sub-two-second document complete times in basic tests.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 1:27What is headless Drupal
- 2:54Reasons to go headless
- 4:39Why use React
- 6:55What is React
- 10:15Drupal 8 improvements
- 14:43Demo sites setup
- 19:00Choosing the API
- 25:11JSON API overview
- 26:36Setting up environments
- 28:05Performance comparison
- 30:14Editorial experience loss
- 31:18Developer experience trade-offs
- 33:07Time investment analysis
- 33:52Q&A on caching and SEO
