react-boilerplate
react-boilerplate copied to clipboard
A boilerplate to start a client-side project using React.
React boilerplate
A boilerplate to start a client-side project using React.
Features
Tools
-
Webpack
- webpack-dev-server with HMR support
- webpack-notifier
-
Babel 6 with presets for:
- ES2015 using babel-preset-es2015
- React using babel-preset-react
- React HMR and error catching using babel-preset-react-hmre
-
ESLint configured to:
- use Babel 6 as parser using babel-eslint
- lint page on save using eslint-loader
Hot Module Replacement (HMR) in action
As you can see the HMR is working without reloading the page for React components and styles.
Getting started
$ git clone https://github.com/rbartoli/react-boilerplate.git
$ npm i
$ npm start