Headless WordPress with Next.js Server Side Rendering
summary
Shows how to use Next.js + React + WordPress REST API to run a headless WordPress site with server-side rendering, automatic code-splitting, prefetching and webpack hot module replacement. Describes two real deployments: a largely decoupled TechCrunch setup and fully decoupled Fairfax media sites, and demonstrates the minimal starter: npm init, install react react-dom next, create a pages/ directory and scripts for dev/build/start. Warns that SSR adds complexity and that authentication for headless setups remains unresolved.
AI-written summary · about
