Created
October 20, 2016 00:08
-
-
Save chrisbateman/f9268a5c0f875b4abea388f87b91ba94 to your computer and use it in GitHub Desktop.
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> | |
<title>React Demo</title> | |
<script src="https://unpkg.com/react@15.3.2/dist/react-with-addons.min.js"></script> | |
<script src="https://unpkg.com/react-dom@15.3.2/dist/react-dom.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script> | |
<script type="text/babel"> | |
let App = React.createClass({ | |
render() { | |
return ( | |
<div> | |
<h1>App</h1> | |
<p>hello world</p> | |
</div> | |
); | |
} | |
}) | |
ReactDOM.render(<App />, document.body); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment