Last active
March 16, 2020 03:31
-
-
Save tmatz/6e3a3cd730e132a28bc9263bbf45788c to your computer and use it in GitHub Desktop.
single html react app (https://gist.githack.com/tmatz/6e3a3cd730e132a28bc9263bbf45788c/raw/single_html_react.html)
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>single html react app</title> | |
<script crossorigin src='https://unpkg.com/react/umd/react.development.js'></script> | |
<script crossorigin src='https://unpkg.com/react-dom/umd/react-dom.development.js'></script> | |
<script crossorigin src='https://unpkg.com/@babel/standalone/babel.min.js'></script> | |
</head> | |
<body> | |
<div id='root'></div> | |
<script type='text/babel'> | |
ReactDOM.render(<span>Hello React!</span>, document.getElementById('root')); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment