In this section, we're going to look at the Redux library for implementing a Flux architecture. Unlike
Alt.js, Redux doesn't aim for Flux compliance. The goal of Redux is to borrow the important ideas from Flux, leaving the tedious bits behind. Despite not implementing Flux components as specified in the official documentation, Redux is the go-to solution for React architectures now. Redux is proof that simplicity always wins over advanced features.
The core ideas
Before implementing some Redux code, let's take a moment to look at the core ideas of Redux:
- No dispatcher: This is just like
Alt.js, which also purges the dispatcher concept from it's API. The fact that these Flux libraries don't expose a dispatcher component serves to illustrate ...