What is useState hook in React
useState is a Hook that lets you add React state to function components. In classes, the state is always an object, and you can update a property in that object by calling this.setState(). In function components, you can use useState and it returns a...
appicenterai.hashnode.dev2 min read