Understanding React State and setState
The state is the place where we store the data. React components have state built-in.
All the property values that a component has, is stored in the state. When a state object changes, the component is re-rendered.
Creating State in React
The state i...
blog.pratik.dev3 min read