Files
react/examples/basic-commonjs
Paul O’Shannessy ce66a796ee Update the examples for 0.13
The only substantial difference here is that I made the harmony example use ES6
classes. The server rendering example was pretty wacky and hard to run but
I did confirm that it works.
2015-03-10 11:56:25 -07:00
..
2014-05-21 00:07:18 -07:00
2015-02-20 04:06:15 +03:00
2015-03-10 11:56:25 -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.