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...
May 10, 20212 min read57