I have an interesting situation – I am try to create a page builder in the backend of WordPress CMS. I need to load the theme CSS but whenever I do the WordPress backend styling get messed up. So I wondering if I could use an iframe and load React components on to that along with the theme CSS. Is this the best way to handle it or any other options I have?
Also, I have been trying to stay away from JSX and been using the React DOM functions to create elements(eg:
React.DOM.div) but I can’t create an iframe with this method. Any ideas? I am fairly new to React so be easy on me 🙂 Thanks for all the help!
Read more here: React – Add components to an iframe