WP Manifestindependent plugin directory
manifest / developer / react-app-loader

React App Loader

An mu-plugin that provides an API for loading React applications built with create-react-app into the front-end of WordPress.

★ 2stars
1.4.0latest · 5 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/masonitedoors/react-app-loader/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
React App Loader An mu-plugin that provides an API for loading React applications built with create-react-app into the front-end of WordPress. Requirements - PHP = 7.1 - WordPress = 5.0 - React application built using Create React App = 3.2 Setup Loader Add the plugin to your site's mu-plugins directory. This plugin is also available to install via composer. React App While this loader does not require any specific structure to your React application, it does require the React app to be loaded as a WordPress plugin. In order to do this, we will need to add a single PHP file so WordPress can recognize it as a WordPress plugin. Although the PHP file can be named anything, the filename should match the nomenclature of the React app directory name in order to follow WordPress plugin development best practices. This PHP file (e.g. react-app-name.php) should include header comment what tells WordPress that a file is a plugin and provides information about the plugin. Example: PHP Interface ReactAppLoader\API::register() The register method has 4 required parameters and should be called within the pluginsloaded action. | Parameter | Type | Description

Releases

1 release.

Tag
Published
1.4.0 latest
Jan 13, 2021 5 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.