Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

What is the purpose of the Context API in React?

Click the option that best answers the question.

  • To manage state at a global level
  • To pass data between parent and child components
  • To handle asynchronous operations
  • To create reusable component logic