Remote React App Loader archived
Easily load react apps inside of WordPress with your theme's header & footer
by Masonite · github.com/masonitedoors/remote-react-app-loader
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/masonitedoors/remote-react-app-loader/archive/refs/heads/master.zipFrom the readme
Remote React App Loader
Easily load React apps inside of WordPress with your theme's header & footer.
Once this plugin is activated, the React app(s) defined within your site's wp-config.php will automatically be loaded into WordPress at the location of your choice. This allows you to keep your React app's build/deployment pipeline separate from your WordPress pipeline, eliminating the need to add non-standard directories to the root of your WordPress install or wrap a React-app inside of a WordPress plugin.
Install
Upload the plugin to your plugins directory and activate it.
If using composer:
Usage
Define the React app(s) within your site's wp-config.php. See options for all available options.
You'll need to refresh your site's rewrite rules in the database before you will see your React apps. You can do this by simply visiting your site's permalinks settings page in the admin area.
Visiting the Permalinks screen triggers a flush of rewrite rules
Settings → Permalinks
Options
| option | type | description |
| ---------------------- | --