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
- Host: GitHub
- URL: https://github.com/christopheralphonse/movie-app-with-react-api-call
- Owner: ChristopherAlphonse
- Created: 2022-04-20T04:06:30.000Z (about 4 years ago)
- Default Branch: React-app
- Last Pushed: 2024-11-24T19:38:54.000Z (over 1 year ago)
- Last Synced: 2025-10-08T07:04:55.344Z (8 months ago)
- Language: CSS
- Size: 2.26 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
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
-