In this chapter, you learned about leveraging Flux libraries. In particular, we looked at two of the prevailing libraries that can be used to implement Flux architectures.
We started the chapter off with a discussion that was mostly a recap of the fundamental principles of Flux and how we implemented them throughout the previous chapters of this book. We then covered some of the various pain points of implementing Flux—like singleton dispatchers, repetitive action code, and partitioning store modules. These are areas that a library like Alt.js
or Redux could address for us.
We then proceeded to implement a simple todo application using the Alt.js
Flux library. The idea behind Flux is to implement all the relevant Flux components while automating the typical arduous implementation chores behind the scenes for us. After this, we turned our attention to the Redux library. Redux is less concerned with following the Flux patterns exactly. Instead, Redux aims for simplicity while borrowing...