Everything About useState Hook in React
useState is one of the first hooks I came across while learning React. It is easy to understand/use but equally fascinating/confusing at the same time ( just on click of a button, things update on-screen đŽ). Let’s dive in!!! Why useState Hook? React does not detect change in normal variables thatâs why useState hook is required. … Read more