useState is the React Hook that allows you to manage the state within functional components. useState, like all other hooks, was introduced with React 16.8 and allows you to create stateful functional components. In fact, before React 16.8, to write a stateful component we were forced to create a class component extending the React.Component class […]