An open API service indexing awesome lists of open source software.

https://github.com/christopheralphonse/movie-app-with-react-api-call


https://github.com/christopheralphonse/movie-app-with-react-api-call

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Use useState hook to change my value dynamically

- Key take away
- import {useState}
- create a variable give it an array , in this case it is const = [counter,setCounter] = useState() , use a concept of destructuring
- rule of thumb, index 1 should be name set because it is a setter function for the first variable not required but it is semantic and easdy to read
- anyting with the key word (USE) is a hook
-