Back to quizzes
useState Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is the primary purpose of the useState hook in React?
A
To manage state in functional components
B
To handle side effects
C
To render components
D
To perform API calls