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

feat/faves
roadmap bot 1 year ago
parent 52e729d212
commit 564f48540e
  1. 4
      src/data/roadmaps/react/content/103-rendering/102-render-props.md

@ -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/)
Loading…
Cancel
Save