react app as block in a page
-
Hi,
I created react app and is successfully shown as page in WordPress site. But I want to add react app as component in another page. I tried adding<!-- Please don't change. Block is needed for React app. --> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="react-app-oq"></div>
in my page. But it does not render the app. I thought div id=root will not work in another page.
Please guide me.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘react app as block in a page’ is closed to new replies.