ReactJS useState Hook
Before the official release of React 16.8, functional components had very less features as compared to class components. Class components can hold state but functional components couldn't. So, functional components were stateless and also used to ref...
anuragtomar.hashnode.dev3 min read