Files
react/examples/basic-commonjs
Paul O’Shannessy f53854bd93 React.renderComponent -> React.render
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
..
2014-05-21 00:07:18 -07:00
2014-10-23 20:51:11 -07:00

Basic example of using React with Browserify

Run npm install in the directory to install React from npm. Then run:

./node_modules/.bin/browserify --debug --transform reactify ./index.js > ./bundle.js

to produce bundle.js with example code and React.