项目
在 GitHub 查看
leonardomso/react-bolt
关于
⚡ 简洁而稳健的 React 项目样板。
网站与应用开发可以做什么
- ⚛ React — 16.12.0 with Hooks
- ♻ Redux with Redux Thunk — State Management with middleware to handle async requests
- 🛠 Babel — ES6 syntax, Airbnb & React/Recommended config
- 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
React Bolt
The best boilerplate for your React projects.
Introduction
This boilerplate contains all you need to start your next React.js project. Simple, robust, well-organized, all you need to do is clone, install and you're ready to start.
I wrote a article for anyone who wants to learn how to build this boilerplate, if you want to learn just click here.
Check out the lite version here
Features
This boilerplate features all the latest tools and practices in the industry.
- ⚛ React — 16.12.0 with Hooks
- ♻ Redux with Redux Thunk — State Management with middleware to handle async requests
- 🛠 Babel — ES6 syntax, Airbnb & React/Recommended config
- 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build
- 💅 CSS — Styled Components, CSS, Sass
- ✅ Tests — Jest, React Testing Library & Cypress
- 💖 Lint — ESlint
- 🐶 Husky — Prevent bad commits
Getting started
- Clone this repo using
https://github.com/leonardomso/react-bolt.git - Move to the appropriate directory:
cd react-bolt. - Run
yarnornpm installto install dependencies. - Run
npm startto see the example app athttp://localhost:8080.
Commands
npm start- start the dev servernpm run build- create a production ready build indistfoldernpm run lint- execute an eslint checknpm run lint:fix- execute an eslint and fix the errorsnpm test- run all testsnpm run test:watch- run all tests in watch modenpm run test:cover- coverage modenpm run cypress:open- starts cypress
Next features:
- Hot Module Replacement: Better HMR support;
- CSS/Sass support: Enable CSS/Sass support;
- PWA: Turn into a PWA boilerplate;
- SEO: SEO-ready;
License
MIT license, Copyright (c) 2018 Leonardo Maldonado.
探索相关项目
加载中…