Summary
To sum up, Flux is a very good invention for large-scale applications. It solves problems where the classic MVC pattern struggles to do so. Events are unidirectional, which makes communication more predictable. The domain of your application can easily be mapped to stores and then maintained with a domain expert. All of these things are available thanks to a well-thought-out pattern consisting of a Dispatcher, stores, and actions. In this chapter, we made our little Flux-based application using flux-utils, Facebook's official library.
Having connected all of these pieces, we are ready to deep-dive into one particular aspect—stores. There are a few patterns that you can use to put your store on another level. One of these is Redux ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access