State Hook in React.js
> Like we know so far, Hooks let's you use React without classes
useState is a built-in Hook which is use to add state to function component. useState() ALWAYS returns an array with exactly two elements, which we can rename with array destructuring....
karatashev.hashnode.dev2 min read