Created
May 12, 2018 05:46
-
-
Save rahuls360/65c2c0a22370047fd3319ccee76c88e9 to your computer and use it in GitHub Desktop.
ReactJS basic template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
React CDN | |
<script src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script> | |
HTML | |
<div id="app"></div> | |
JS | |
<script type="text/babel"> | |
ReactDOM.render( | |
hello, | |
document.getElementById('app') | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment