
In other words, you should pass the state to achieve the destination even if almost all states don’t use this passed state.Īs you might know, modern react has several methods to pass your state like “useReducer”, “useContext”. When it comes to basic react in the past, you could pass the state just next to the state by using props. Redux allows you to access your state from everywhere, which is why redux is said to a quite useful tool. As long as I know, past redux is one of the most complicating. The above sentence is extracted from Wikipedia. Similar to Facebook’s Flux architecture, it was created by Dan Abramov and Andrew Clark It is most commonly used with libraries such as React or Angular for building user interfaces. What is redux? Redux is an open-source JavaScript library for managing and centralizing application state. So, I would share my basic knowledge and how to create a basic counter app in this article, and I would share how to create a more complicating app in the next article.

I decided to share my knowledge about redux dividing into 2parts, which are basic and real example because redux is a little bit confusing method. So how can you manage states of your app? Well, actually you have several ways, and the useful one is redux. If you want to create a more complicating app, you should add the feature of state management.
