Chapter 11. Building an RSS Reader Using React and Flux

React is not enough to build a complete application, as it's just the view layer. We need an architecture for holding the application logic and data, and this is where Flux comes in. Obviously, React can be used with any other architecture, but Flux is what is mostly used with React, as Flux is based on unidirectional data flow, like React. In this chapter, we will build a single-page RSS reader using React and Flux.

We will cover the following topics:

  • Flux architecture in depth
  • Routing using the React Router library
  • Using Flux.js to create a dispatcher
  • Using MicroEvent.js to emit events
  • Integrating Flux and routing

Understanding Flux

Flux is an application architecture and not a framework. You ...

Get JavaScript: Moving to ES2015 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.