react-boilerplate

? A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.

Github星跟踪图

Features

But wait... there's more!

  • The best test setup: Automatically guarantee code quality and non-breaking
    changes. (Seen a react app with 100% test coverage before?)
  • Native web app: Your app's new home? The home screen of your users' phones.
  • The fastest fonts: Say goodbye to vacant text.
  • Stay fast: Profile your app's performance from the comfort of your command
    line!
  • Catch problems: AppVeyor and TravisCI setups included by default, so your
    tests get run automatically on Windows and Unix.

There’s also a fantastic video on how to structure your React.js apps with scalability in mind. It provides rationale for the majority of boilerplate's design decisions.

Keywords: React.js, Redux, Hot Reloading, ESNext, Babel, react-router, Offline First, ServiceWorker, styled-components, redux-saga, FontFaceObserver

Quick start

  1. Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
  2. Clone this repo using git clone --depth=1 https://github.com/react-boilerplate/react-boilerplate.git <YOUR_PROJECT_NAME>
  3. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  4. Run npm run setup in order to install dependencies and clean the git repo.
    At this point you can run npm start to see the example app at http://localhost:3000.
  5. Run npm run clean to delete the example app.

Now you're ready to rumble!

Please note that this boilerplate is production-ready and not meant for beginners! If you're just starting out with react or redux, please refer to https://github.com/petehunt/react-howto instead. If you want a solid, battle-tested base to build your next product upon and have some experience with react, this is the perfect start for you.

Documentation

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Supporters

This project would not be possible without the support of these amazing folks. Become a sponsor to get your company in front of thousands of engaged react developers and help us out!




















License

This project is licensed under the MIT license, Copyright (c) 2019 Maximilian
Stoiber. For more information see LICENSE.md.

主要指标

概览
名称与所有者react-boilerplate/react-boilerplate
主编程语言JavaScript
编程语言HTML (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2015-02-18 14:36:32
推送于2023-03-23 21:35:09
最后一次提交2019-04-18 20:48:40
发布数30
最新版本名称v1.0.1 (发布于 2020-07-03 15:27:48)
第一版名称v2.0.0 (发布于 )
用户参与
星数29.5k
关注者数517
派生数6.1k
提交数1.5k
已启用问题?
问题数1908
打开的问题数86
拉请求数715
打开的拉请求数44
关闭的拉请求数435
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?