ReactPress – Create React App for WordPress


ReactPress enables you to easily create, build and deploy React apps into your existing WordPress sites. Use your React knowledge to create single page applications for your WordPress customers.

Get started in seconds and develop your React app with instant feedback and your WordPress theme in mind.

Combine the flexibility of WordPress with the UI capabilities of React and seamlessly integrate create-react-app into your WordPress project for your next SaaS.

ReactPress does 3 things:

  • It integrates your local dev server into your WordPress theme, that you have instant feedback, how your React app looks in the context of your WordPress website.
  • It builds your React app in a way that it is usable from your WordPress site.
  • It makes it easy to upload your app to a live server after building.


  • Fast refresh during app development
  • WordPress integration during development
  • Easy deploy to your live site
  • client-side routing
  • zero-config
  • TypeScript support


System Requirements

To develop React apps your WordPress instance needs access to:

  • Access to the PHP function file_get_contents. Some hosting providers deactivate fopen on which file_get_contents depends. Access to file_get_contents is neccessary on your dev and your live system!
  • POSIX compatible system, Windows support is experimental. (Alternatively Windows users can use WSL2)


  • Empty admin view.

  • The new React app is created.

  • The local React dev server is running on port: 3000. Every change will hot reload immediately.

  • The React app is deployed on the public server.


  1. Like any other plugin install via Plugins/Add New. You can download the plugin via admin or upload it to the plugins directory.

  2. Activate the plugin through the ‘Plugins’ menu in WordPress


मार्च 17, 2024
It’s a really useful plugin, It does only one thing, but it does it well. Thank you for your work!
अक्टूबर 21, 2023
We use this plugin for our e-commerce operations in the company that I work for. It is being pretty stable and it is easy to build and integrate.
अप्रैल 6, 2023 1 reply
I discovered this plugin when it was just a few months old – there were challenges in getting it to work initially, but it turned out to be issues with my understanding of how to set it up – now it is an integral part of my website.
मार्च 8, 2023 1 reply
Works exactly as intended and helps a lot in combining old sites with new technique. Would pay for it if all compability issues of the future (wordpress <-> react) would be resolved by this plugin.
मार्च 7, 2023
Just finished the tutorial and lovin’ it. I was never so easy to add a React app to my WordPress site.
Read all 17 reviews

Contributors & Developers

“ReactPress – Create React App for WordPress” is open source software. The following people have contributed to this plugin.




  • Update the React dev environment even if the ReactPress app is on a private page. Thanks to @BlairCooper
  • Improve compatibility with non-standard WordPress configurations like Bedrock. Thanks to @dylanlawrence
  • Improve security


  • Removing extra script tag when using vite – thanks to @dylanlawrence
  • Using ABSPATH for the document root


  • Support React apps with Vite (other kinds of frontend frameworks coming soon)
  • (Very) basic support for more than one app on one page.


  • Make sure that pages of all states (private, draft) are shown.
  • Improve user feedback when something goes wrong during index.html update.
  • Don’t write empty content to index.html if page download did not work.
  • Add css as late as possible to ReactPress page, to reduce !important in app’s css.
  • Add information about the post into reactPress variable
  • Automatically update the app list without the need to reload the page


  • Allow child pages to be ReactPress pages, where a React app is embedded.
  • Add support for hosts that have turned the php.ini setting allow_url_fopen to off.
  • Don’t delete options when uninstalling plugin.


  • Use relative file names for templates, to allow different folder configurations. Thanks to
  • Improve system requirements


  • Don’t show encrypted user password on frontend.
  • Improve Windows compatibility


  • Add totally empty canvas template. This template doesn’t get any styles and scripts from WordPress. Good if you want to embed a totally independent React app.
  • Add nonce and base rest_url to global ReactPress variable.
  • Fix loading of global ReactPress variable.
  • Improve Windows compatibility
  • Securtiy fix: don’t show encrypted user password


  • Improve Windows compatibility


  • Add an app to an existing page
  • Make client-side routing optional, thus allowing child pages of a React app
  • Improve documentation
  • Use a React app in more than one page
  • Revamp the admin page to be cleaner and a React app itself
  • Add PHP namespaces
  • Use create-react-app in the admin area for dogfooding
  • Add post state label to signal the user a page was created by ReactPress
  • Test with WordPress 6.0.2


  • Swap file_get_contents for wp_remote_get.

  • Create custom routing for react-router based on slug of the reactpress page.

  • If the folder of an app is deleted, it is shown as type: Orphan


  • Move apps directory to wp-content/reactpress/apps to don’t mess with the created app when updating the plugin.

  • Remove possibility to create new react apps from the admin. From now on there is only the command line workflow.


  • FIX: Template incompatibility with Elementor and some other plugins. Thank to the great answer of Sally CJ

  • FIX: Problems if document root and plugin app directory are on the same machine/server/locationn


  • Revamp the process of adding using ReactPress. Don’t start the react app anymore, only update the index.html from WordPress admin. Make it possible to add apps manually with npm or yarn.

  • Add fallback if we can’t find the plugin directory programmatically.


  • Test with WordPress 5.7

  • Insert the current user object to the global window object in Javascript, to have it accessible without a call to the API.

  • add .env with CHOKIDAR_USEPOLLING=true to ensure watcher works with VM

  • Use npm instead of yarn.


  • Check for if it allows shell_exec and exec

  • npm -v >= 6.0.0 is reachable from WordPress

  • Find out if we are in a Windows environment

  • Deploy app to production

  • Add TypeScript/template support

  • Delete app

  • Build app

  • Extend index.html in React app to look like WordPress site

  • Create new React app

  • Add React app in specified page