it-works-browserify-react
v0.0.2
Published
A simple module to test react with browserify
Downloads
1
Readme
it-works-browserify-react
A simple module to test react with browserify
example
main.js
var React = require('react');
React.renderComponent(React.DOM.h1(null, 'it-works-browserify-react'), document.body);
server.js
var server = require('it-works-browserify-react');
var port = process.env.PORT || 8888;
server.listen(port, 'localhost');
console.log('server listen to http://localhost:' + port);