These docs are old and won’t be updated. Go to react.dev for the new React docs. Render props are used in modern React, but aren’t very common. For many cases, they have been replaced by custom Hooks. The term “render prop” refers to a technique for sharing code between React components using a prop whose value is a function. A component with a render prop takes a function that returns a React ele
![Render Props – React](https://cdn-ak-scissors.b.st-hatena.com/image/square/b2c712cc98dd4b4358911c413bad77e850529eee/height=288;version=1;width=512/https%3A%2F%2Flegacy.reactjs.org%2Flogo-og.png)