Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rismanss/boilerplate-react-hooks

boilerplate for react hooks
https://github.com/rismanss/boilerplate-react-hooks

boilerplate eslint react react-hooks reducers usecontext usecontext-hook usereducer usereducer-hooks

Last synced: 29 days ago
JSON representation

boilerplate for react hooks

Awesome Lists containing this project

README

        




boilerplate-react-hooks


boilerplate for your React projects.



## Introduction
this is boilerplate for react hooks

## Features
- **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

## Getting started
1. Clone this repo using `https://github.com/rismanss/boilerplate-react-hooks.git`
2. Move to the appropriate directory: `cd boilerplate-react-hooks`
3. Run `npm install` to install dependencies
4. Run `npm start` to see the example app at `http://localhost:8080`

## Commands
- `npm start` - start the dev server
- `npm run build` - create a production ready build in dist folder
- `npm run lint` - execute an eslint check
- `npm run lint:fix` - execute an eslint and fix the errors

## Next features
- [x] **Hot Module Replacement**: Better HMR support;
- [ ] **Tests**: Jest, React Testing Library;
- [ ] **PWA**: Turn into a PWA boilerplate;
- [ ] **SEO**: SEO-ready;

## License
MIT license