Back to quizzes
useState Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What does the useState hook return?
A
n array with a current state value and a function to update it
B
An object with state properties
C
A string representing the state
D
A promise that resolves to the state