Skip to content

Instantly share code, notes, and snippets.

@tylermcginnis
Created April 10, 2018 20:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save tylermcginnis/0afd6bbca3daff7551ecfdd4f5b2e303 to your computer and use it in GitHub Desktop.
Save tylermcginnis/0afd6bbca3daff7551ecfdd4f5b2e303 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>First React App</title>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src='https://unpkg.com/babel-standalone@6/babel.min.js'></script>
</head>
<body>
<div id='app'></div>
<script type='text/babel'>
function App () {
return (
<div>
Hello World
</div>
)
}
ReactDOM.render(
<App />,
document.getElementById('app')
)
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment