Chapter 11. Preparing Your React Application for Painless Maintenance with Flux

The reason why we decided to implement the Flux architecture in our React application is that we want to have a data flow that is easier to maintain. In the previous chapter, we implemented AppDispatcher, TweetActionCreators, and TweetStore. Let’s quickly remember what they are used for:

  • TweetActionCreators: This creates and dispatches the actions
  • AppDispatcher: This dispatches all the actions to all stores
  • TweetStore: This stores and manages the application data

The only missing parts in our data flow are as follows:

  • Using TweetActionCreators to create the actions and start the data flowing
  • Using TweetStore to get data

Here are a couple of important questions to ask: where ...

Get React 16 Essentials - Second Edition 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.