Title: Embed React Build
Author: nsei
Published: <strong>15 de Maio, 2021</strong>
Last modified: 12 de Setembro, 2021

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

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

# Embed React Build

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

[Descargar](https://downloads.wordpress.org/plugin/embed-react-build.zip)

 * [Detalles](https://gl.wordpress.org/plugins/embed-react-build/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/embed-react-build/#reviews)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/embed-react-build/#developers)

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

## Descrición

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)

## Preguntas frecuentes

### 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.

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Embed React Build” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

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

[Traduce “Embed React Build” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/embed-react-build)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/embed-react-build/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/embed-react-build/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/embed-react-build/)
por [RSS](https://plugins.trac.wordpress.org/log/embed-react-build/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 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

## Meta

 *  Versión **1.0.3**
 *  Última actualización **Fai 5 anos**
 *  Instalacións activas **20+**
 *  Versión de WordPress ** 4.7 ou superior **
 *  Probado ata **5.8.13**
 *  Versión de PHP ** 7.0 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/embed-react-build/)
 * Etiquetas
 * [build](https://gl.wordpress.org/plugins/tags/build/)[embed](https://gl.wordpress.org/plugins/tags/embed/)
   [react](https://gl.wordpress.org/plugins/tags/react/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/embed-react-build/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/embed-react-build/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/embed-react-build/)