Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rismanss/boilerplate-react-hooks
- Owner: rismanss
- License: mit
- Created: 2020-07-31T14:02:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T13:41:23.000Z (about 2 years ago)
- Last Synced: 2024-11-23T17:36:17.208Z (3 months ago)
- Topics: boilerplate, eslint, react, react-hooks, reducers, usecontext, usecontext-hook, usereducer, usereducer-hooks
- Language: JavaScript
- Homepage: https://rismanss.github.io/boilerplate-react-hooks/
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
boilerplate-react-hooksboilerplate 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