Include react-dom
Fixes `Uncaught ReferenceError: ReactDOM is not defined`
Adam Bloomston committed
Oct 10, 2015 at 10:17 UTC
ab1be09d7d5d00fd96a576aeb84cab0867c70e52
1 file changed
+1
docs/docs/02-displaying-data.md
+1
@@ -20,6 +20,7 @@ Let's look at a really simple example. Create a `hello-react.html` file with the
20
<meta charset="UTF-8" />
21
<title>Hello React</title>
22
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
23
+ <script src="https://fb.me/react-dom-{{site.react_version}}.js"></script>
24
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
25
</head>
26
<body>