What is Redux?

Redux helps manage state in your application. Instead of having to worry about passing props around your application, with Redux, it is all located in one global store. It makes it easier to access, pass around, and mutate data while making it available to the entire application.

Basic Definition

What it offers

When to use it


Understanding Redux

Intuition

Understanding Redux is simple, including it into your application is not 🤢.

Lets use an analogy to help make it simple. This analogy is something that you can do in real life, so go to McD's on Green Street and get some chicken nuggets!

Lets think about the steps that are going to happen in order to get our Chicky Nuggies:

  1. You go to the ordering screen
  2. Order some chicken nuggets
  3. Pay
  4. The cashier gets your order and gives it to the cooks
  5. The cooks fry up some chicken nuggets or get ones that are already ready to serve and give it to the cashier
  6. The cashier calls your number
  7. You pick up your food

Definitions