main
html 40 lines 1.62 KB
Raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8" />
5 <title>React 16.5</title>
6 <link rel="stylesheet" href="styles.css" />
7
8 <script type="text/javascript">
9 // Enable DevTools to inspect React inside of an <iframe>
10 // This must run before React is loaded
11 __REACT_DEVTOOLS_GLOBAL_HOOK__ = parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
12 </script>
13
14 <script src="https://unpkg.com/schedule@0.5.0/umd/schedule.development.js"></script>
15 <script src="https://unpkg.com/schedule@0.5.0/umd/schedule-tracing.development.js"></script>
16 <script src="https://unpkg.com/react@16.5/umd/react.development.js"></script>
17 <script src="https://unpkg.com/react-dom@16.5/umd/react-dom.development.js"></script>
18
19 <!-- Don't use this in production: -->
20 <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
21 </head>
22 <body>
23 <div id="root">
24 If you are seeing this message, you are likely viewing this file using the <code>file</code> protocol which does not support cross origin requests.
25 <br/><br/>
26 Use the <code>server</code> script instead:
27 <br/><br/>
28 <code>node ./fixtures/devtools/regression/server.js</code><br/>
29 <code>open <a href="http://localhost:3000/16.5.html">http://localhost:3000/16.5.html</a></code>
30 </div>
31
32 <script src="shared.js" type="text/babel"></script>
33
34 <!--
35 This is a great way to try React but it's not suitable for production.
36 It slowly compiles JSX with Babel in the browser and uses a large development build of React.
37 Learn more at https://reactjs.org/docs/getting-started.html
38 -->
39 </body>
40 </html>