The Context API alleviates the need for ________, a common pattern where a parent component passes its data to a child component through intermediate components.

  • Component Hierarchy
  • Component Nesting
  • Component Wrapping
  • Prop Drilling
The Context API alleviates the need for "Prop Drilling," a common pattern where a parent component passes its data to a child component through intermediate components. With context, you can provide values at a higher level in the component tree and access them in lower-level components without explicitly passing them through each intermediate component.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *