Through our libary_app
application, we have explored how the unidirectional data flow in a simple Flux-based application. The users can see the booklist in the views. They can add books in the reading list, thus the actions (adding books ) gets passed to the dispatchers. Internally the dispatchers have the registered callbacks with the stores. The stores then adds/removes the books based on the user's action and computes the business logic and re-renders the changes accordingly again to the views.
In the next chapter, we will cover React good practices and patterns. This includes practices to develop reusable components, how to structure your components hierarchically to a better data flow, and how to validate your components behavior. In our app, we'll be improving our components developed so far.