React.js Boilerplate logo

React.js Boilerplate

🔥 Quick setup for performance orientated, offline-first React.js apps
+ 1

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 a tool in the Javascript UI Libraries category of a tech stack.
React.js Boilerplate is an open source tool with GitHub stars and GitHub forks. Here’s a link to React.js Boilerplate's open source repository on GitHub

Who uses React.js Boilerplate?

6 companies reportedly use React.js Boilerplate in their tech stacks, including Digital Services, On-demand apps, and HolidayCheck.

392 developers on StackShare have stated that they use React.js Boilerplate.

React.js Boilerplate Integrations

React, Redux, Mocha, React Router, and PostCSS are some of the popular tools that integrate with React.js Boilerplate. Here's a list of all 6 tools that integrate with React.js Boilerplate.
Pros of React.js Boilerplate
Amazing developer experience
Nice tooling
Easy setup
Easy offline first applications
Great documentation

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!
  • Babel is a modular JavaScript transpiler that helps to use next generation JavaScript and more, like transformation for JSX, hot loading, error catching etc. Babel has a solid ecosystem of offical preset and plugins.
  • 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?
Next.js is a minimalistic framework for server-rendered React applications.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

React.js Boilerplate's Followers
459 developers follow React.js Boilerplate to keep up with related blogs and decisions.