Back to quizzes
useContext Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is the primary purpose of useContext in React?
A
To access context values without prop drilling.
B
To manage component lifecycle.
C
To optimize performance.
D
To handle state updates.