O'Reilly logo

React.js Essentials by Artemij Fedosejev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Prepare 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 wanted to have a data flow that is easier to maintain. In the previous chapter, we implemented AppDispatcher, TweetActionCreators, and TweetStore. Let's quickly re-cap what they are used for:

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

The only missing parts in our data flow are bits of functionality that are as follows:

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

Here are some important questions to ask: Where ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required