The useState hook is one of the most popular and commonly used hooks in React. It is also one of the trend-changing hooks ever introduced to the React ecosystem. As the name suggests this hook allows using the state object inside functional components. Prior to the introduction of useState hook, the state was only accessible inside the class components. With the useState hook, we can convert stateless functional components into stateful functional components.
Copy styles from - https://tutjunction.com/react/use-sta...
Complete useState hook article - https://tutjunction.com/react/use-state
Complete React tutorial - https://tutjunction.com/react/start