What is Redux?

Simply put, Redux is a tool of state administration. Although mostly used with React, it can be used with any other JavaScript framework or library. It is lightweight in 2KB, so you don't have to worry about increasing the size of your app.

With Redux, your app is kept in a state store, and each component can access any state it needs from that store. Let's dig a little deeper to see why you might need the stethole management tool.

Why do you need Redux?

React, Angular, etc. Most libraries, such as components, are created in a way that they manage states internally without the need for an external library or tool. Several component works well for applications, but as the application grows, managing states shared between component becomes a chore.

In an application where data is shared between component, it can be confusing to know where a data should be. Ideally, the data in a component should be a single component, making it difficult to share data between sister component.

For example, to share data between siblings in React, a data must live in its parent component. A method for updating these states is provided by the main component and passed in support of these sister component. This makes it easier for us to manage data.

If you want more information, check out redux's site


KARABAY A, 2020 . What is Redux ?,


(Accessed January 25, 2020).

  Share this post

Comments (2)

  • responsive

    It's a little confusing to use phrases like component state, which were originally in English.

    1 year ago
    • ALI KARABAY Reply

      I'll consider your comment for your thank you comment

      1 year ago


Sign up for the email newsletter to be the first to know about my blog posts