From the course: React: State Management (2019)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

The Flux wars: The beginnings of Redux

The Flux wars: The beginnings of Redux - React.js Tutorial

From the course: React: State Management (2019)

Start my 1-month free trial

The Flux wars: The beginnings of Redux

- [Narrator] What options existed for state management before Redux? You might be wondering why asking this question is important in the first place. Understanding the history behind why Redux became so popular, is useful for a couple of reasons. It helps you understand the pain points with previous solutions that Redux solved for. You'll also gain an appreciation for the stability that Redux provided to end the Flux wars. Before we get into the Flux wars, it's important to understand what Flux is. Developed at Facebook, Flux introduced a pattern for state management that wasn't used widely before. The most popular alternative at the time was angular js, which used by directional data binding. While this was great to keep the view and model in sync, it often slowed down applications, and was trickier to understand conceptually. Flux specifies one-directional data binding, that means that data always flows from the view to the model. This is easier to grasp if you're starting out as…

Contents