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. |
||
|---|---|---|
| .. | ||
| README.md | ||
| index.html | ||
| index.js | ||
| package.json | ||
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.