Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-boilerplate

> 前端框架
Open source

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

29.5K stars0 likes0 views
WebsiteGitHub

About

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




## Features Quick scaffolding Create components, containers, routes, selectors and sagas - and their tests - right from the CLI! Instant feedback Enjoy the best DX (Developer eXperience) and code your app at the speed of thought! Your saved changes to the CSS and JS are reflected instantaneously without refreshing the page. Preserve application state even when you update something in the underlying code! Predictable state management Unidirectional data flow allows for change logging and time travel debugging. Next generation JavaScript Use template strings, object destructuring, arrow functions, JSX syntax and more. Next generation CSS Write composable CSS that's co-located with your components for complete modularity. Unique generated class names keep the specificity low while eliminating style clashes. Ship only the styles that are on the page for the best performance. Industry-standard routing It's natural to want to add pages (e.g. `/about`) to your application, and routing makes this possible. Industry-standard i18n internationalization support Scalable apps need to support multiple languages, easily add and support multiple languages with `react-intl`. Offline-first The next frontier in performant web apps: availability without a network connection from the instant your users load the app. Static code analysis Focus on writing new features without worrying about formatting or code quality. With the right editor setup, your code will automatically be formatted and linted as you work. SEO We support SEO (document head tags management) for search engines that support indexing of JavaScript content. (eg. Google) 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 ` 3. Move to the appropriate directory: `cd `.
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 - [**The Hitchhiker's Guide to `react-boilerplate`**](docs/general/introduction.md): An introduction for newcomers to this boilerplate. - [Overview](docs/general): A short overview of the included tools - [**Commands**](docs/general/commands.md): Getting the most out of this boilerplate - [Testing](docs/testing): How to work with the built-in test harness - [Styling](docs/css): How to work with the CSS tooling - [Your app](docs/js): Supercharging your app with Routing, Redux, simple asynchronicity helpers, etc. - [**Troubleshooting**](docs/general/gotchas.md): Solutions to common problems faced by developers. ## Contributors Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Max Stoiber

💻 📖 🤔 👀 ⚠️

Julien Benchetrit

💻 💬 📖 👀 🚧

Sara Federico

💻 👀 💬 📖 🚧

Justin Greenberg

💻 👀

Jon Winn

💻 👀

Johan Meester

💻 ⚠️ 📖

Yaroslav Kiliba

💻

Glen Ihrig

💻

Somasundaram Ayyappan

💻

Oliver Turner

💻

Samuel Sharpe

💻

Mihir Karandikar

💻

Vaibhav Verma

💻

Sébastien Dubois

💻

Chainarong Tangsurakit

💻

Amila Welihinda

💻
This project follows the [all-contributors](https://github.com/all-contributors/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**](https://opencollective.com/react-boilerplate) 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`.

Issues· 140 open

View all issuesOpen on GitHub
  • #3076

    The DLL files are missing. Sit back while we build them for you with "npm run build-dll"

    Updated Aug 12, 2025
  • #3114

    security essue

    Updated Apr 22, 2025
  • #3113

    the link that leads to your X ecount

    Updated Apr 22, 2025
  • #3112

    Security Threat Identified – ngrok Dependency

    Updated Apr 15, 2025
  • #3111

    Your website link has been compromised

    Updated Apr 6, 2025
  • #3105

    Website appears compromised

    Updated Mar 9, 2025
  • #3110

    Readme has dead images/badges

    Updated Jan 14, 2025
  • #2992

    Updating package.json to latest causing issues

    Updated Dec 27, 2024
  • #3107

    [SUGGESTION] Adding `eslint-plugin-project-structure` to the project for validating folder structure and more, to automatically ensure scalability and consistency.

    Updated Oct 10, 2024
  • #3102

    migrating to react-router-dom v6

    Updated Aug 1, 2024

> Tags

JavaScripti18nimmeroffline-firstreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架