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
..
README.md Add basic CommonJS example with browserify 2014-04-29 21:57:08 +04:00
index.html Add shims to examples 2014-05-21 00:07:18 -07:00
index.js lint from root 2015-02-20 04:06:15 +03:00
package.json Update the examples for 0.13 2015-03-10 11:56:25 -07:00

README.md

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.