What is React.js Boilerplate?
Quick setup for new performance orientated, offline–first React.js applications featuring Redux, hot–reloading, PostCSS, react-router, ServiceWorker, AppCache, FontFaceObserver and Mocha.
React.js Boilerplate is an open source tool with 23K GitHub stars and 4.6K GitHub forks. Here’s a link to React.js Boilerplate's open source repository on GitHub
Who uses React.js Boilerplate?
4 companies reportedly use React.js Boilerplate in their tech stacks, including Truckaurbus Marketplace Pvt. Ltd., Digital Services, and On-demand apps.
127 developers on StackShare have stated that they use React.js Boilerplate.
React.js Boilerplate Integrations
Mocha, React, PostCSS, React Router, and Redux are some of the popular tools that integrate with React.js Boilerplate. Here's a list of all 5 tools that integrate with React.js Boilerplate.
Why developers like React.js Boilerplate?
Here’s a list of reasons why companies and developers use React.js Boilerplate
React.js Boilerplate's Features
- Using react-transform-hmr, your changes in the CSS and JS get reflected in the app instantly without refreshing the page. That means that the current application state persists even when you change something in the underlying code! For a very good explanation and demo, watch Dan Abramov himself talking about it at react-europe.
- Redux is a much better implementation of a flux–like, unidirectional data flow. Redux makes actions composable, reduces the boilerplate code and makes hot–reloading possible in the first place. For a good overview of redux, check out the talk linked above or the official documentation!
- PostCSS is like Sass, but modular and capable of much more. PostCSS is, in essence, just a wrapper for plugins which exposes an easy to use, but very powerful API. While it is possible to replicate Sass features with PostCSS, PostCSS has an ecosystem of amazing plugins with functionalities Sass cannot even dream about having. See this talk for a short introduction to PostCSS.
- Unit tests should be an important part of every web application developers toolchain. Mocha checks your application is working exactly how it should without you lifting a single finger. Congratulations, you just won a First Class ticket to world domination, fasten your seat belt please!
- react-router is used for routing in this boilerplate. Using the new, and currently unreleased, 1.0 version, react-router makes routing really easy to do and takes care of a lot of the work. Since the version is not officially out yet, the documentation is not fully finished, but by far finished enough to work for most needs.
- ServiceWorker and AppCache make it possible to use your application offline. As soon as the website has been opened once, it is cached and available without a network connection. See this talk for an explanation of the ServiceWorker used in this boilerplate. manifest.json is specifically for Chrome on Android. Users can add the website to the homescreen and use it like a native app!
React.js Boilerplate Alternatives & Comparisons
What are some alternatives to React.js Boilerplate?
See all alternatives
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.