Back to quizzes
Context API Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is the primary purpose of the Context API in React?
A
To share data between components without prop drilling.
B
To manage state in a functional component.
C
To optimize performance of a component.
D
To handle side effects in a component.