React State vs Props: Key Concepts and Examples
STATE
In React, a State is an object that holds the data and behavior of a component. It represents the current state of the component and can be updated over time.
State is typically initialized in the constructor of a class component using the this...
asritha.hashnode.dev4 min read