#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
$ 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