loading...

Discussion on: 🔥 Learn React in 10 Tweets (with hooks)

chrisachard profile image
Chris Achard Author

:) Yes - you're correct; the main use case for hooks is state or lifecycle (useEffect). You can also use useRef for reference though, useContext for context, and a few other things - but useState is probably most of the usage.