React at Preact

Flux & Reflux

Facebook describes their "Flux" pattern as providing one-way dataflow. This dramatically simplifies reasoning about application logic and is one of the key benefits of using the React/Flux pattern at Preact.

The open source community has developed a large number of lightweight implementations of the Flux pattern. Refer to the links section to see some general resources.


One of the recent additions to the Flux fray is Reflux and it has already fostered many fans. Ourselves included.

In this chapter, we'll discuss the specifics of how we're using Reflux to build Actions and Stores.