useState Hook in React useState hook lets you add state to functional components. Unlike class, useState provide the facility to have the state as a
useState Hook in React useState hook lets you add state to functional components. Unlike class, useState provide the facility to have the state as a