Try this exercise. Click the correct answer from the options.
What is the purpose of the useContext hook?
Click the option that best answers the question.
- To create a new context
- To consume data from a context
- To update the value of a context
- To destroy a context