main
html 41 lines 1.72 KB
Raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8" />
5 <title>React next</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/scheduler@canary/umd/scheduler.development.js"></script>
15 <script src="https://unpkg.com/scheduler@canary/umd/scheduler-tracing.development.js"></script>
16 <script src="https://unpkg.com/react@canary/umd/react.development.js"></script>
17 <script src="https://unpkg.com/react-dom@canary/umd/react-dom.development.js"></script>
18 <script src="https://unpkg.com/react-cache@canary/umd/react-cache.development.js"></script>
19
20 <!-- Don't use this in production: -->
21 <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
22 </head>
23 <body>
24 <div id="root">
25 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.
26 <br/><br/>
27 Use the <code>server</code> script instead:
28 <br/><br/>
29 <code>node ./fixtures/devtools/regression/server.js</code><br/>
30 <code>open <a href="http://localhost:3000/next.html">http://localhost:3000/next.html</a></code>
31 </div>
32
33 <script src="shared.js" type="text/babel"></script>
34
35 <!--
36 This is a great way to try React but it's not suitable for production.
37 It slowly compiles JSX with Babel in the browser and uses a large development build of React.
38 Learn more at https://reactjs.org/docs/getting-started.html
39 -->
40 </body>
41 </html>