1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-18 23:21:18 +02:00

chore: add resource under react:rendering:render-props

This commit is contained in:
roadmap bot
2023-06-14 03:46:29 +01:00
parent 52e729d212
commit 564f48540e

View File

@@ -1,11 +1,11 @@
# Render Props
The term render prop refers to a technique for sharing code between React components using a prop whose value is a function.
The term 'render props' 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 element and calls it instead of implementing its own render logic.
Visit the following resources to learn more:
- [Render Props in React](https://reactjs.org/docs/render-props.html)
- [Render Props in React](https://react.dev/learn/passing-props-to-a-component)
- [How to create a Render Prop Component](https://www.robinwieruch.de/react-render-props/)
- [Render Props Pattern](https://www.patterns.dev/posts/render-props-pattern/)
- [Render Props Pattern](https://www.patterns.dev/posts/render-props-pattern/)