Why You Don’t Need Redux Anymore?

Adhithi Ravichandran
6 min readFeb 28
Photo by hay s on Unsplash

Redux has been tied with React projects for many years now. I even see job postings for React, that require Redux experience and knowledge like the one shown below:

Job Posting on https://www.linkedin.com/

The job posting requires significant experience using React.js / Redux. Well they are not the same, and why would someone need significant experience with Redux to get this job! I don’t get it, but that’s not in the scope of this blog post!

The point is that the industry is treating Redux as if it is synonymous with React, and you need to know Redux to code React applications. This is absolutely not true.

So let’s step back and revisit what Redux is and what problems it solves.

What problem does Redux solve?

From the State of JS Survey of 2022, you can see below that over 43% of respondents have answered that State Management is among the top 3 of the JavaScript pain points that they struggle with.

https://2022.stateofjs.com/en-US/opinions/#top_js_pain_points

Libraries like Redux were used to relieve this specific pain point.

The react-redux is a state management library, that is extremely popular. It provides an external storage to store your entire application’s state.

What is state?

State is data that can change.

React components read data from this store, dispatch actions to the store and can also update the store.

The Redux store is the source of truth that contains the entire application’s current state.

Redux solved state management concerns in large React applications. But often teams have used Redux before they needed it. This causes applications to be bloated.

Do you still need Redux?

Now fast forward several years, the React ecosystem has grown so much, and the question arises, do we still need Redux? The answer for most cases is: No!

Adhithi Ravichandran

Software Consultant, Author, Speaker, React|Next.js|React Native |GraphQL|Cypress Dev & Indian Classical Musician