Files
developer-roadmap/roadmaps/react/content/refs@_zNAOhFWMcWqP4oxNPCXF.md
T

755 B

Refs

A render prop is a pattern where a component takes a function as a prop and calls it to decide what to render. This allows the component to share logic with whatever gets rendered, without dictating the exact UI. It was common before hooks existed, and hooks now cover many of the same use cases in a simpler way.

Visit the following resources to learn more: