A

Admin • 833.24K Points
Coach

Q. Which component should wrap your app to use Context API?

  • (A) Context.Provider
  • (B) useContext
  • (C) Context.Consumer
  • (D) React.StrictMode
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

Context.Provider wraps your app and allows its children to access the context.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.