This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 120
Create a React element #24
Labels
Comments
Can you elaborate on exactly what you're trying to do? :) |
Hey, i had a similar question. I have something like:
But encountered |
You need to load React. Easiest way is to load it from Facebook's CDN: <script src="https://fb.me/react-15.1.0.min.js"></script>
<script src="https://fb.me/react-dom-15.1.0.min.js"></script> Also note that you can't use |
Ah okie, basically |
If I have a component |
@khankuan I also met the same scene, and I solved it in this way. I think it would not be the best way to mount all the objects on the window. Would you later find a better solution? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How do I create a
React
element from the string that is returned fromtransform
?The text was updated successfully, but these errors were encountered: