Prop Drilling

noun

say it: “PROP DRIL-ing” /prɒp ˈdrɪlɪŋ/

Passing data down through components that don't use it, just so it reaches one deeper down.

What is Prop Drilling in Angular?

Prop Drilling — Passing a value through a chain of components as inputs, where the ones in the middle don't use it and only hand it on. It makes every middle component change when the data does. A shared service avoids it: the component that needs the data injects it directly.

In a sentence

  • “The cart count went through four components by prop drilling until we moved it into a service.”

Level: Journeyman · More Angular terms at this level

Updated