Question · React Native course · Module 4: State and API data

Provider pattern

What does Context.Provider do?

Answer options

  • Creates a new context
  • Provides the context value to child components
  • Retrieves a value from the context
  • Removes the context

You can check the correct answer by solving this task in the CodeWorlds game.