Production-ready React+router+redux+less+hot-loader boilerplate with Poi.
Keywords: React.js, Redux, Hot Reloading, ESNext, Babel, react-router, Offline First, ServiceWorker, less, redux-saga
Basically Poi works with a React.js app out of the box, but this example adds extra features:
- Poi bundler.
- ESLint config for build and code editor.
- Hot module replacement with react-hot-loader.
- Best practices.
git clone --depth=1 https://github.com/pingjiang/react-boilerplate.git <YOUR_PROJECT_NAME>
In this directory run:
# start dev-server at http://localhost:4000
npm start
# eslint+prettier
npm run lint -- --fix
# production build
npm run build
# unit testing using jest
npm test
# e2e testing using cypress
npm run test:e2e