What is React Context API and how do you use it?

Instruction: Describe the purpose of the Context API in React and provide an example of how it can be used to manage global state.

Context: This question tests the candidate's ability to work with React's Context API for managing global application state without prop drilling.

Upgrade to view answer

Related Questions