prop drilling

Passing a value through several layers of components that do not use it, just so a deeply nested one can.

In more detail

Drilling makes every middle component depend on data it does not care about. React Context lets the deep component read the value directly from a provider above it.

Related terms

Taught in

References