-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (20 loc) · 824 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>React Hooks</title>
</head>
<body>
<h2>React Hooks</h2>
<p>This page demonstrates creating a functional component using React Hooks.</p>
<p>React is loaded as a script tag and we are not using Babel.</p>
<!-- We will put our React component inside this div. -->
<div id="component_container"></div>
<!-- Load React. -->
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
<script src="https://unpkg.com/react@16.8.0-alpha.1/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16.8.0-alpha.1/umd/react-dom.development.js" crossorigin></script>
<!-- Load our React component. -->
<script src="component.js"></script>
</body>
</html>