How to use Props.Children in React

preview_player
Показать описание

👩🏼‍💻 Links Mentioned 👩🏼‍💻

🌸 My Links 🌸

Рекомендации по теме
Комментарии
Автор

For anyone confused by this video, I encourage you to first ALWAYS have a text editor open to try whatever you are learning, since coding is best learned by doing. Learning to code by doing every concept you study is the single most important thing I learned doing my Full Stack Web development certification years ago, and it has remained true to this day.

Second, the whole point of using {children} in the Card component she demonstrated was so she could actually use the custom button component inside of the Card. If {children} wasn't passed to the Card component, she could simply not place the button inside of it. Therefore it is a very powerful way of building out complex components.

MarkOhanesian
Автор

My right ear is thankful for this video

Ownagin
Автор

I wish you showed what happened when you rendered Card or Button _without_ using props.children. So you could compare side-by-side. It's still not clicking.

akpokemon
Автор

Thanks the most SIMPLE explanation, i dont understand why others make it soo complex to teach

christopherpink
Автор

It is a small video demo, clearly explained what is props.children with example. Very interesting. Thank you very much.

srinivasaraoyp
Автор

Reusability of the component nice and easily explained.

mazdysoraya
Автор

at 1:14 how did you copy and paste the button tags into the Card component so fast?

Maddenite
Автор

Tysm Ali! I really like your explanation of this concept, it's short and to the point. Would love to see more vids from you.

karolinalencina
Автор

Best Explanation Possible. To the point .

swarupyeole
Автор

Excellent!!! Exactly what I have been looking for. Thanks.

ikechukwucharles
Автор

Good job, Ali. This is one of the most important React features and it's great to have such an effective way of explaining it. 🙂

tomasburian
Автор

Explained in the simplest and most understable way possible. Awesome!

azizrakhim
Автор

I was looking for this, thank you so much it helped a lot!!

sassyofran
Автор

Merci Ali, c'était clair et cool ! J'ai apprécié et ça va bien m'aider

battlefieldbros
Автор

Thank you so much, this was so helpful!

hennyisangry
Автор

Thanks Ali, Now i'm wondering why I couldn't get. You made it simple.

sameheladsy
Автор

It's just a my impression, or these children work like an inverted prop

Andrea-tjv
Автор

With respect to passing in props as opposed to {children} and using props.children my question is what purpose would destructuring the object serve? Why would we use one over the other? Thanks

colindante
Автор

kindly provide source code whenever you provide these small concepts it hurts to make a whole project just to run this small code

GoogleUser-nxwp
Автор

Short, succint explaination of props.children in React. Thanks.

{2023-07-05}

Pareshbpatel