React JS-module-7 Question 3

Last Updated :
Discuss
Comments

In React, when is it appropriate to use the `useContext` hook?

When managing local component state

When sharing data between components deeply nested in the component tree

When handling asynchronous actions

When rendering lists of data

Share your thoughts in the comments