Skip to main content
WordPress application framework

One WordPress backend. Any frontend.

Use React inside WordPress or expose the same content to an external frontend. Choose client, static, or server rendering one template at a time.

BackendWordPress
FrontendIntegrated React or headless
01 / Architecture

Stay integrated. Go headless. Mix both.

ReactWP does not force the frontend away from WordPress. Choose the relationship that fits your project.

01Integrated React theme

Build inside WordPress.

WordPress resolves the request and serves a normalized route to the React theme. ReactWP then owns templates, navigation, media, document head updates, scroll, and page transitions.

Build your first template
02Public headless API

Bring your own frontend.

Expose normalized routes, menus, settings, SEO, previews, and authenticated users to React, Vue, Svelte, Astro, or another frontend stack.

Connect a headless frontend
02 / Rendering

Use the simplest runtime each route needs.

Start with the browser. Generate stable public pages. Add a server only where the request truly depends on it.

Explore rendering
configureTemplateRegistry.jsReactWP
registerTemplate('Home', {
  loader: () => import('../../templates/Home'),
  render: 'static',
  cache: {
    tags: ['post-type:project']
  }
});
01

Client

render: 'client'

The original ReactWP runtime. WordPress serves the shell and React renders the route in the browser.

02

Static

render: 'static'

Generate route HTML ahead of time, serve it through WordPress, and hydrate it in the browser.

03

Server

render: 'server'

Render request-dependent HTML through the optional Node service, then hydrate the same template.

03 / WordPress

WordPress stays the source of truth.

Editors keep the administration system they know. Developers receive one normalized contract across direct loads, client navigation, static output, SSR, and external frontends.

Understand route payloads
  1. 01Content and ACF fields
  2. 02Menus and project settings
  3. 03Permalinks and 404 routes
  4. 04Users and capabilities
  5. 05SEO and signed previews
  6. 06ReactWP cache invalidation
04 / Delivery

One source tree. One production pipeline.

Author WordPress and frontend code together, then generate a deployable installation with the assets required by the selected rendering modes.

src/Author PHP, React, SCSS, plugins, and media
configs/Build, watch, render, generate, and report
dist/Run and deploy the generated WordPress project
  • Route-level JavaScript and CSS
  • Generated entrypoint manifests
  • Optimized theme media
  • Brotli and gzip assets
  • Bundle reports and budgets

Start with WordPress. Decide the frontend per project.