Title: Embed React app
Author: pavex
Published: <strong>August 9, 2018</strong>
Last modified: February 26, 2019

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/embed-react-application/assets/icon-256x256.png?rev=1922342)

# Embed React app

 By [pavex](https://profiles.wordpress.org/pavex/)

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

 * [Details](https://srd.wordpress.org/plugins/embed-react-application/#description)
 * [Reviews](https://srd.wordpress.org/plugins/embed-react-application/#reviews)
 * [Development](https://srd.wordpress.org/plugins/embed-react-application/#developers)

 [Support](https://wordpress.org/support/plugin/embed-react-application/)

## Description

This is a simple way how to embed react application in to your post. In my blog,
a wanted include small application, but typical react app is a single page app, 
hardly linked in index.html. He needed a simple way to solve it. The result is visible
on my blog, for example: [Embeding Google Photos album](https://www.publicalbum.org/blog/embedding-google-photos-albums).

### How to do it

You need compiled React app hosted on public url. Find filenames after building 
an application. If you using create-ract-app script, all what you need, find in “
static” directory. Assemble file names into a shortcode like this:

    ```
    [reactapp id="root" js="pathto/static/js/main.000000.js" css="pathto/static/css/main.000000.css"]
    [reactapp id="custom_id" "pathto/static/js/main.000000.js" "pathto/static/css/main.000000.css" "pathto/static/css/another.css"]
    ```

 * id – ID of application root element
 * js[n] – path to Java script bundle
 * css[n] – path to Stylesheet
 * (files are detected automaticly by extension js/css)

That’s all.
 When application was updated, you must setup new links to shortcode.
If you want to more information about this plugin, you may visit [Embedding a React Application to WordPress post](https://www.publicalbum.org/blog/embedding-react-app-wordpress-post)
post in my blog.

#### 1.0.1

_Release Date – 18 January 2019_

 * Multiple script insert for new react build compatibility.

#### 1.0.0

 * React application shortcode.

## Reviews

![](https://secure.gravatar.com/avatar/4b1006fbcb45a3d22c3930b4c71d741bc8138f8ce11ba3641209406bb5c00cd9?
s=60&d=retro&r=g)

### 󠀁[Well Done](https://wordpress.org/support/topic/well-done-705/)󠁿

 [heavenhigh027](https://profiles.wordpress.org/heavenhigh027/) May 23, 2022

Nice work

![](https://secure.gravatar.com/avatar/83d4b1c87f5fd2e3217c7cf7cbf994f7cd2ed7849655cb6df8a2f4ba395cc70a?
s=60&d=retro&r=g)

### 󠀁[Works a charm](https://wordpress.org/support/topic/works-a-charm-17/)󠁿

 [Bizzle Dapp](https://profiles.wordpress.org/bizzledapp/) April 16, 2020 3 replies

This is a brilliant plugin and works wonderfully.

![](https://secure.gravatar.com/avatar/e2d8f9a4f32bd204196c055ea776fbb46e63652dac5fe88a895de6d20285c783?
s=60&d=retro&r=g)

### 󠀁[Working perfectly](https://wordpress.org/support/topic/working-perfectly-85/)󠁿

 [berdentay](https://profiles.wordpress.org/berdentay/) March 28, 2020

Thanks for this, appreaciate it

![](https://secure.gravatar.com/avatar/b58ff879150b7d800e92efefb8cd9998bd04e9aee977b33e54c716b3d6aa0968?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-1598/)󠁿

 [markhorsell](https://profiles.wordpress.org/markhorsell/) August 13, 2019

Thanks

![](https://secure.gravatar.com/avatar/31645687d5cf2e3c63ddce9d02d5b35e25f2bc82901eabd09e7cf2ce490835a7?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-4488/)󠁿

 [phuongchi123](https://profiles.wordpress.org/phuongchi123/) May 20, 2019

good

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/embed-react-application/reviews/)

## Contributors & Developers

“Embed React app” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Embed React app” into your language.](https://translate.wordpress.org/projects/wp-plugins/embed-react-application)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/embed-react-application/),
check out the [SVN repository](https://plugins.svn.wordpress.org/embed-react-application/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/embed-react-application/)
by [RSS](https://plugins.trac.wordpress.org/log/embed-react-application/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.1**
 *  Last updated **7 years ago**
 *  Active installations **200+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.1.22**
 *  Language
 * [English (US)](https://wordpress.org/plugins/embed-react-application/)
 * Tags
 * [embed](https://srd.wordpress.org/plugins/tags/embed/)[react](https://srd.wordpress.org/plugins/tags/react/)
 *  [Advanced View](https://srd.wordpress.org/plugins/embed-react-application/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=1)

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

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

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/embed-react-application/)