Introduction of Redux
What is Redux? Redux is quite an excellent State Management Framework. It's used with React.js library . To understand what is redux we have to learn what is the state. State state is the place where the data comes from. Our state as simple as possible and minimize the number of stateful components. This is the Javascript object that stores a component's behavior. state is dynamic, it enable a component to keep track of changing information in between renders and for it to be dynamic and interactive. It can only be used within a class component. State is similar to props but unlike props . It is private to a component and is controlled solely by he said component. state is accessed using this.state as well as State is initiated using this.state . But, all subsequent changes to state are made using this.setState. this.setState ensures that the components affected by he change in state are re-rendered in the browser. The main difference between state and props