You’re well on your way then! I’m still not sure exactly what you’re confused about, but hooks can only be used with functional components, and they can do loads of things including updating the state.
Good luck!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You’re well on your way then! I’m still not sure exactly what you’re confused about, but hooks can only be used with functional components, and they can do loads of things including updating the state.
Good luck!