commit
7c3be4e1d5
10 changed files with 23 additions and 21 deletions
@ -1 +1,3 @@ |
|||||||
# Powershell |
# Powershell |
||||||
|
|
||||||
|
- [PowerShell Documentation](https://learn.microsoft.com/en-us/powershell/) |
@ -1,11 +1,11 @@ |
|||||||
# Render Props |
# 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. |
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: |
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/) |
- [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/) |
Loading…
Reference in new issue