Basic CommonJS Example with Browserify

To install React, follow the instructions on GitHub.

If you can see this, React is not working right. If you checked out the source from GitHub make sure to run grunt.

Example Details

This is written with JSX in a CommonJS module and precompiled to vanilla JS by running:

browserify --debug --transform reactify index.js > bundle.js

Learn more about React at