boilerplate for your React projects.
this is boilerplate for react hooks
- React — 16.13.1 with Hooks for handle state management
- Router - for routing the application
- Babel — ES6 syntax, Airbnb & React/Recommended config
- Webpack — Hot Reloading, Code Splitting, Optimized Build
- CSS — CSS
- Lint — ESlint
- Clone this repo using
https://github.com/rismanss/boilerplate-react-hooks.git
- Move to the appropriate directory:
cd boilerplate-react-hooks
- Run
npm install
to install dependencies - Run
npm start
to see the example app athttp://localhost:8080
npm start
- start the dev servernpm run build
- create a production ready build in dist foldernpm run lint
- execute an eslint checknpm run lint:fix
- execute an eslint and fix the errors
- Hot Module Replacement: Better HMR support;
- Tests: Jest, React Testing Library;
- PWA: Turn into a PWA boilerplate;
- SEO: SEO-ready;
MIT license