React State
State allows you to store one or more properties of a component.
State can be used in a class component but not in a functional component. (However, you may use Hooks inside a functional component.)
In the example below, Student is a component while...
mayjudev.hashnode.dev2 min read