mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
I find myself often using (modified) examples to test in IE and it's a pain to have to add the shims in every time. Might as well just add them in always.
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.