/
index.html
26 lines (23 loc) · 1001 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
26
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React JS vs DOM JS Throwdown</title>
<link rel="stylesheet" href="css/base.css" />
</head>
<body>
<h1>React JS vs DOM JS Throwdown</h1>
<p>
These demo apps generate results for article at <a href="https://objectpartners.com/2015/11/03/comparing-react-js-performance-vs-native-dom">Comparing React.js performance vs. native DOM</a>
</p>
<p>React.js app is written with JSX in a CommonJS module and precompiled to vanilla JS by running:</p>
<pre><code>npm start</code></pre>
<p>If you'd like to run from a web server, and have Python installed, you can run:</p>
<pre><code>python -m SimpleHTTPServer 8888</code></pre>
<p>Click to launch:</p>
<p>
<button><a href="app-dom.html?maxRows=500" target="_blank">DOM Performance Test</a></button>
<button><a href="app-react.html?maxRows=500" target="_blank">React.js Performance Test</a></button>
</p>
</body>
</html>