DEV Community

Cover image for How & when to use redux in react projects?
Victor Bahta Teka
Victor Bahta Teka

Posted on

How & when to use redux in react projects?

React is the most widely used javascript library according to StackOverflow’s 2021 survey. The ability to break down a larger application into multiple smaller & reusable components is one of the features that made react so popular as it greatly helps organize projects in a modular fashion.

But there’s one thing that may be an issue as projects start to scale. Imagine you are working on a big project. You will likely deconstruct your app into multiple child components and further divide them into smaller and more specific elements. While doing this, we usually use React’s state and props to share data and information across components. But this can quickly get complex and difficult to maintain if our project is big. This is where Redux comes in handy.

Read my full blog with example code

How and when to use redux in react projects

Top comments (0)