Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @bizzledapp

    I’m trying to embed a react app using this plugin. I have been unsuccessful. I would greatly appreciate your assistance.

    I have added the /build into the folder /public_html/mysite/ i.e /public_html/mysite/build/….

    and added the shortcode to a page as follows;

    [reactapp id=”root”

    However, the react app does not run.


    Thread Starter Bizzle Dapp


    Hey @amarunda,

    Hope you’re keeping well.

    So two little tips here, firstly i would recommend renaming your js and css bundles. Reason being, you’ll then always be looking for the same filenames with the Shortcode element, meaning you only need to rename the build, rather than update the shortcode with the new .js and .css filenames.

    Here is an example of something i have set up:

    [reactapp id="root" 
    "/mfe/static/js/1.js" "/mfe/static/js/2.js" "/mfe/static/js/3.js"]

    The build folders are then placed within a directory nest as such:

    Also, be sure not to use new lines within the shortcode, i don’t think this gets on very well.

    Hope this helps, mate.

    Be safe,

    Hi @bizzledapp

    Thanks for you advice & tips. Unfortunately it has not worked for me. Maybe it because I’m on WP5.4

    I have embedded the react app using a ‘quick & dirty’ way i.e adding a custom HTML <object> tag that links to the react app URL. However, I’m sure this is not best practise.

    Will try to follow notes at



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works a charm’ is closed to new replies.