Skip to content

Instantly share code, notes, and snippets.

@tigarcia
Last active October 19, 2017 01:26
Show Gist options
  • Save tigarcia/c98d5253f010d210c9e325452b4971eb to your computer and use it in GitHub Desktop.
Save tigarcia/c98d5253f010d210c9e325452b4971eb to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div id="app"></div>
<script src="https://unpkg.com/[email protected]/umd/react.production.min.js"></script>
<script src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.js"></script>
<script type="text/babel">
class App extends React.Component {
render() {
return (<h1>
Hello World
</h1>);
}
}
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