Manage your state with the useState hook in React
React introduces hooks in version 16.8. Hooks allow us to create functional components with states and side effects.
The useState is the simplest hook we can encounter in a React project. This method takes one parameter, the initial value of the stat...
devoreur2code.hashnode.dev3 min read