Skip to content

Instantly share code, notes, and snippets.

@pugiemonn
Created December 12, 2016 03:49
Show Gist options
  • Save pugiemonn/90ebd87a9536aefff2f801666529b8dd to your computer and use it in GitHub Desktop.
Save pugiemonn/90ebd87a9536aefff2f801666529b8dd to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
</head>
<body>
<div id="root">
<!-- This div's content will be managed by React. -->
</div>
<script src="https://unpkg.com/react@15/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.js"></script>
<script src="https://unpkg.com/babel-standalone@6.19.0/babel.min.js"></script>
<script type="text/babel">
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment