I am trying to quickly add React to an existing Angular project just by linking to scripts from a CDN, but having a lot of trouble. I would like to be able to use JSX.
I found this question: How to load es6, react, babel code in html with cdn?
But when I literally copy/paste the question code into my html view, I get this error:
react-dom.min.js?_=1506247263370:12 Uncaught TypeError: Cannot read property '__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire