Builds a simple project to help you get started with React on the client, express for the server and browserify to pull it all together.
JSX and ES6 are transpiled by Babel. The object-assign
babel plugin is also included.
Install the generator:
npm install -g generator-react-express
Then run the generator:
yo react-express
... and follow the prompts.
To avoid a nasty bug that can happen when react/addons
is used without being declared in the common bundle, it is included by default.
If you don't need the additional addons in your project, remove that line from the client/config.js
file in your project to reduce your common bundle size.
I'd love to hear it. Open an issue or submit a PR.
MIT