Chapter 11. Alternative View Components

The Flux documentation doesn't have a whole lot to say about view components. And yet, views are an essential part of any Flux architecture. Perhaps what the Flux authors really mean is that Flux doesn't really care about the mechanisms used to render our views—just as long as they're rendered somehow.

It's no secret that Flux was designed with React in mind. Facebook had already built React for their view components—Flux was the missing piece that allows them to formulate a full-fledged, frontend architecture. We'll start this chapter off with a discussion on what makes React such a good fit for Flux architectures. Then we'll weigh these benefits against the downsides of React.

Next, we'll spend some time ...

Get Flux Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.