test useState()
JavaScript Fetch API HTTP GET request with parameters React + JSX
test useState()
Note if you are using a component function, state is a little different (as are props) This shows using React.useState() in a component function