React Quickstart
A minimalist React starter.
Features
✓ Language - ES6+
✓ Styling - Sass
✓ Task Runner - Gulp
✓ Bundling - Webpack
✓ Testing - Mocha/Chai
Getting Started
npm start
Application Structure
├── dist/ # Distribution bundle ├── src/ # Main source folder │ ├── components/ # React components │ ├── styles/ # Sass styles │ ├── index.js/ # Main React app entry point │ └── index.html # HTML entry point ├──devServer.js # Webpack server with hot reload └──... # Configuration files
Component Generation
gulp component --name <name>
Components generated this way will automatically be created in /src/app/components/
.
Add the --full
flag to create a React component with lifecycle methods.
License
The MIT License © Jonathan Huang