mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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.
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.