{"id":141097,"date":"2021-05-15T03:57:15","date_gmt":"2021-05-15T03:57:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/embed-react-build\/"},"modified":"2021-09-12T12:29:06","modified_gmt":"2021-09-12T12:29:06","slug":"embed-react-build","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/embed-react-build\/","author":15893199,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"trunk","tested":"5.8.13","requires":"4.7","requires_php":"7.0","requires_plugins":"","header_name":"Embed React Build","header_author":"Nurullah Sevinctekin","header_description":"This plugin allows the ReactJS build to work embedded in wordpress.","assets_banners_color":"","last_updated":"2021-09-12 12:29:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/nurullah\/embed-react-build","header_author_uri":"https:\/\/github.com\/nurullah\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1602,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"nsei","date":"2021-05-15 04:25:12"},"1.0.0":{"tag":"1.0.0","author":"nsei","date":"2021-05-15 04:24:46"},"1.0.1":{"tag":"1.0.1","author":"nsei","date":"2021-09-12 11:54:04"},"1.0.2":{"tag":"1.0.2","author":"nsei","date":"2021-09-12 12:29:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3776,230,52651],"plugin_category":[56],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-141097","plugin","type-plugin","status-publish","hentry","plugin_tags-build","plugin_tags-embed","plugin_tags-react","plugin_category-social-and-sharing","plugin_committers-nsei"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/embed-react-build.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin reads the <code>asset-manifest.json<\/code> file in your ReactJS build and includes it in wordpress and allows you to run your application anywhere in wordpress.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>You can run your application embedded in wordpress by typing the following shortcode in the Wordpress text editor.<\/p>\n\n<pre><code>[embed_react_build application_id=\"root\" url=\"https:\/\/react-default.netlify.app\"]\n<\/code><\/pre>\n\n<h3>Shortcode Parameters<\/h3>\n\n<ul>\n<li><code>application_id<\/code> \u2014 The name of the container where the React application is mounted.\n(default: root) (required)<\/li>\n<li><code>url<\/code> \u2014 The URL address of the React Build.\n(required)<\/li>\n<li><code>staging_url<\/code> \u2014 The URL address of the React Staging Build. Once defined, you can access the staging build by typing <code>?test=true<\/code> at the end of the url.\n(optional)<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20there%20a%20requirement%20for%20the%20plugin%3F'><h3>Is there a requirement for the plugin?<\/h3><\/dt>\n<dd><p>The only requirement for the plugin is that React Build with the following conditions.<\/p>\n\n<ol>\n<li>You need to compile with a version higher than 3.2.0 of the <a href=\"https:\/\/create-react-app.dev\/\">Create React App<\/a> tool so that your build dependencies are read and understood by the plugin.<\/li>\n<li>You need to define <code>PUBLIC_URL<\/code> in the <code>.env<\/code> file for the structure dependencies to be properly integrated into the page.\n<strong>For example:<\/strong> <a href=\"https:\/\/github.com\/nurullah\/react-default\/blob\/master\/.env\">https:\/\/github.com\/nurullah\/react-default\/blob\/master\/.env<\/a><\/li>\n<\/ol><\/dd>\n<dt id='where%20can%20i%20embed%20react%20build%3F'><h3>Where can I embed React Build?<\/h3><\/dt>\n<dd><p>You can run the React Build by typing the shortcode in the text editor from within the post, page or widgets.<\/p><\/dd>\n<dt id='will%20i%20always%20need%20to%20prepare%20the%20shortcode%20manually%3F'><h3>Will I always need to prepare the shortcode manually?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed issue when copying sample shortcode.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Wordpress 5.8 compability tested.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Readme.txt updated.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Plugin name renamed.<\/li>\n<\/ul>\n\n<h4>0.4.4<\/h4>\n\n<ul>\n<li>Readme.txt updated.<\/li>\n<\/ul>\n\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Readme.md updated.<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Readme files created.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Staging URL parameter added to the shortcode.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>The manifest.json file is loaded after runtime.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>PHP notice fixed.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Shortcode created.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Class created for plugin.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial<\/li>\n<\/ul>","raw_excerpt":"It is a plugin that allows you to integrate your ReactJS builds into wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/141097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=141097"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nsei"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=141097"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=141097"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=141097"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=141097"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=141097"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=141097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}