State: It is an updatable structure that is used to contain data or information about the component and can change over time. State Can be modified using this.setState. State can be…
what is the difference between state and props in react
1 Article
1