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?
A
To access context data in a functional component.
B
To manage local state in a component.
C
To create a new context.
D
To fetch data from APIs.