Skip to Main Content
What React Is and Why It Matters
book

What React Is and Why It Matters

by Eric Baer
August 2018
Intermediate to advanced content levelIntermediate to advanced
61 pages
1h 12m
English
O'Reilly Media, Inc.
Content preview from What React Is and Why It Matters

Chapter 5. Challenges for Large React Projects

React is a fantastic library with an incredibly helpful community, but it is not without flaws. In particular, a few things are worth keeping in mind when deciding what makes the most sense for your project.

Decision Fatigue

React: a JavaScript library for building user interfaces

React documentation

As powerful as React is, it solves only one specific problem. For a production-ready application, there are a vast number of additional tools, often called a stack, that you will need. For example, the React Starter Kit project, one of the more popular starter projects for React, creates new projects with 102 dependencies on external libraries (as of June 2018). To build a stack like this from scratch, a team has to make dozens of choices about what trade-offs are right for that project. Although the React ecosystem is stabilizing quickly, sometimes choices need to be made for even the most foundational parts of an application like data management, how to write a component, or testing. With such a sprawling ecosystem, upgrading, enabling features, setting patterns, and just keeping up can be exhausting and time-consuming.

Depending on your perspective, you may see this as a source of JavaScript fatigue or as a JavaScript renaissance. Many teams begin with one of a few dozen popular starter projects, often called boilerplates, and commit themselves to the ongoing maintenance. Others rely on the ecosystem of frameworks like Next.js, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The React Workshop

The React Workshop

Brandon Richey, Ryan Yu, Endre Vegh, Theofanis Despoudis, Anton Punith, Florian Sloot, Daniel Bugl, Brandan Jones, SudarshanReddy Kurri, David Parker, Cihan Yakar
Beginning React

Beginning React

Andrea Chiarelli
Pro React 16

Pro React 16

Adam Freeman

Publisher Resources

ISBN: 9781491996744Errata Page