Skip to content
Compares React.js rendering performance vs. native DOM operations.
JavaScript HTML CSS
Branch: master
Clone or download
slangeberg Update README.md
Updated blog post href
Latest commit e5ddaa4 Nov 19, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Code cleanup; Updating final stats output Nov 13, 2015
js
.gitignore
LICENSE Initial commit Nov 2, 2015
README.md Update README.md Nov 19, 2015
app-dom.html
app-react.html Refactored apps as simple as possible, sharing code in common Nov 5, 2015
dom-bundle.js Stubbed in objects for IE testing. Dropped unused memory metrics Nov 18, 2015
index.html Refactored apps as simple as possible, sharing code in common Nov 5, 2015
package.json
react-bundle.js

README.md

#React JS vs DOM JS Throwdown

These demo apps generate results for article at Comparing React.js performance vs. native DOM

Tested with:

  • node: v5.0.0
  • npm: 3.3.9
  • Chrome 46.0.x

Assuming you’ve already installed Node / NPM, you will probably need to install local dependencies for the project, such as:

$ npm install browserify babelify react react-dom watchify --save

React.js app is written with JSX in a CommonJS module and precompiled to vanilla JS by running:

$ npm run start-dom
and:
$ npm run start-react

If you'd like to run from a web server, and have Python installed, you can run:

$ python -m SimpleHTTPServer 8888
You can’t perform that action at this time.