Introduction There are two types of component in React-native class component & Functional component. useState is a hook that allows a functional component to store state variable. If you are working with class component, It is equivalent to this.st...

Markdown supported · ⌘↵ to post
Abhas Vohra
Convergent thinker, Avid coder and Weird musician.
This has cleared out a lot of my doubts wrt to state. The author is a champ.