Skip to content

Instantly share code, notes, and snippets.

@notnek
Forked from kentcdodds/index.html
Created January 18, 2018 15:48
Show Gist options
  • Save notnek/fffed20b3fecac27f505860bb70d6cbb to your computer and use it in GitHub Desktop.
Save notnek/fffed20b3fecac27f505860bb70d6cbb to your computer and use it in GitHub Desktop.
The one true react boilerplate
<body>
<div id="⚛️"></div>
<script src="https://unpkg.com/react@16.0.0/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16.0.0/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.js"></script>
<script type="text/babel">
ReactDOM.render(<div>Hello World!</div>, document.getElementById('⚛️'))
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment