Member-only story

Stop Using Redux With React!

Here’s why you might not need Redux at all

Bikash Paneru
Level Up Coding
4 min readDec 28, 2021

Picture by Lautaro Andreani on Unsplash

Imagine that you are about to create a new Single Page Application. You initialize a new node project and start installing all the dependencies you need — React and some tool(s) for bundling and transpilation. Then you open up your favorite editor, write all the initial configuration and boilerplate code and are ready to embark on a journey to give shape to the application.

But then, you start typing npm install redux react-reduxinto the command line.

Source: Giphy

Let me stop you right there! It is time to take a step back.

Before you go installing Redux in your application, ask yourself, “Do I actually need Redux?”

I do not know what it is, but a lot of us seem to think that a React application is incomplete without Redux as if this were a match made in heaven. I am also guilty of this.

I have seen multiple developers, including myself, just install Redux into every React application they create without first asking themselves that question. On top of that, some of us will start shoving all state into Redux disregarding the fact that React…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (11)

Write a response