Title: Embed React Build
Author: nsei
Published: <strong>Èbìbí  15, 2021</strong>
Last modified: Ọwẹ́wẹ̀  12, 2021

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/embed-react-build.svg)

# Embed React Build

 Láti ọwọ́ [nsei](https://profiles.wordpress.org/nsei/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/embed-react-build.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/embed-react-build/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/embed-react-build/#reviews)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/embed-react-build/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/embed-react-build/)

## Àpèjúwe

This plugin reads the `asset-manifest.json` file in your ReactJS build and includes
it in wordpress and allows you to run your application anywhere in wordpress.

### Usage

You can run your application embedded in wordpress by typing the following shortcode
in the WordPress text editor.

    ```
    [embed_react_build application_id="root" url="https://react-default.netlify.app"]
    ```

### Shortcode Parameters

 * `application_id` — The name of the container where the React application is mounted.
   (
   default: root) (required)
 * `url` — The URL address of the React Build.
    (required)
 * `staging_url` — The URL address of the React Staging Build. Once defined, you
   can access the staging build by typing `?test=true` at the end of the url.
    (
   optional)

## FAQ

### Is there a requirement for the plugin?

The only requirement for the plugin is that React Build with the following conditions.

 1. You need to compile with a version higher than 3.2.0 of the [Create React App](https://create-react-app.dev/)
    tool so that your build dependencies are read and understood by the plugin.
 2. You need to define `PUBLIC_URL` in the `.env` file for the structure dependencies
    to be properly integrated into the page.
     **For example:** [https://github.com/nurullah/react-default/blob/master/.env](https://github.com/nurullah/react-default/blob/master/.env)

### Where can I embed React Build?

You can run the React Build by typing the shortcode in the text editor from within
the post, page or widgets.

### Will I always need to prepare the shortcode manually?

In the new versions of the plugin, component/block will be created for page builders
such as Gutenberg, WPBakery, Elementor. After those versions, you will be able to
integrate your React application more easily.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Embed React Build” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe 
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ nsei ](https://profiles.wordpress.org/nsei/)

[Túmọ̀ “Embed React Build” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/embed-react-build)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/embed-react-build/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/embed-react-build/), tàbí ṣe 
àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/embed-react-build/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/embed-react-build/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.3

 * Fixed issue when copying sample shortcode.

#### 1.0.2

 * WordPress 5.8 compability tested.

#### 1.0.1

 * Readme.txt updated.

#### 1.0.0

 * Plugin name renamed.

#### 0.4.4

 * Readme.txt updated.

#### 0.4.3

 * Readme.md updated.

#### 0.4.2

 * Readme files created.

#### 0.4.1

 * Staging URL parameter added to the shortcode.

#### 0.4

 * The manifest.json file is loaded after runtime.

#### 0.3.1

 * PHP notice fixed.

#### 0.3

 * Shortcode created.

#### 0.2

 * Class created for plugin.

#### 0.1

 * Initial

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.3**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 5 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 4.7 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.8.13**
 *  Ẹ̀yà PHP ** 7.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/embed-react-build/)
 * Àwọn àmì
 * [build](https://yor.wordpress.org/plugins/tags/build/)[embed](https://yor.wordpress.org/plugins/tags/embed/)
   [react](https://yor.wordpress.org/plugins/tags/react/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/embed-react-build/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/embed-react-build/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/embed-react-build/reviews/)

## Àwọn Olùkópa

 *   [ nsei ](https://profiles.wordpress.org/nsei/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/embed-react-build/)