React JS useState

 it is it used to monitor the state in functional component. the only to implement state is to use useState hook Output: