Skip to content

Commit

Permalink
Include react-dom
Browse files Browse the repository at this point in the history
Fixes `Uncaught ReferenceError: ReactDOM is not defined`
  • Loading branch information
Adam Bloomston committed Oct 10, 2015
1 parent be90351 commit ab1be09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/02-displaying-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ab1be09

Please sign in to comment.