wrapper hell

A component tree buried under many layers of wrapper components added by higher-order components and render props.

In more detail

Each wrapper appears in React DevTools and adds indentation to JSX, making the real component hard to find. Hooks share the same logic without adding any layers.

Related terms

Taught in

References