From the course: Building Modern Projects with React

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Why do we need Redux?

Why do we need Redux?

- [Instructor] All right, so now that we've put together a fairly straightforward React application that's already starting to show signs of needing some of these ecosystem tools in order to help it work a little bit more smoothly and make it more maintainable, let's take a look at the first tool for state management in React applications, which is called Redux. Now, we're going to talk specifically about why we need this tool in this video. So really, the main reason why Redux can be so helpful in React applications is frankly just because state management for our React applications as they get larger and more complex is very difficult, right? Mainly this becomes difficult as we've seen when we need to start sharing data between our components. And usually what this leads to is something known as props drilling, which again, we've already seen. Props drilling basically just refers to when you have multiple components, right? Component A displays component B, displays component C. And…

Contents