Browse Source

Include react-dom

Fixes `Uncaught ReferenceError: ReactDOM is not defined`
main
Adam Bloomston 9 years ago
parent
commit
88d5f3cc7e
  1. 1
      docs/02-displaying-data.md

1
docs/02-displaying-data.md

@ -20,6 +20,7 @@ Let's look at a really simple example. Create a `hello-react.html` file with the
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
<script src="https://fb.me/react-dom-{{site.react_version}}.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
</head>
<body>

Loading…
Cancel
Save