Redux is an open-source JavaScript library for managing and centralizing application state. It is most commonly used with libraries such as React or Angular for building user interfaces. Redux is the official UI binding library for React. If you are using Redux and React together, you should also use React Redux to bind these two libraries..
Redux: Redux is 3rd party library used for state management in the application. State management refers to deal with
data management. i.e. sharing the data between one component to another.
We have lot of techniques for sharing the data between components like
props --- Used for transferring data from Parent to child only
callbacks --- Used for transferring data from child to parent only
context API --- Used for transferring data from Parent to child only
To overcome the above drawbacks , we have new concept called Redux. React did not introduced the redux concept whereas its 3rd party library.
No comments:
Post a Comment