I am new to Reactjs and trying to do some simple stuff. In the below code snippet I have declared two state variable counter and setCounter to
counter
setCounter