ReactJS: pass props from child to parent and sibling components

preview_player
Показать описание
Description: In React data flows down. Technically the question how to pass props from child to parent is wrong, but there is a work around. When you have nested components in React and need to pass data from a child to the parent component, or between sibling component, you have props to help you with that.

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

Thanks ma'am, A very clear explanation about passing props within siblings.

masruralam
Автор

You are awesome!! I have been searching all day for someone to make this clear for me!

cpmcmanaman
Автор

this vid help me so much in my job, dont stop making thi kind o vids pls :)

joseortiz-tyvm
Автор

How to pass data from one grand parent to another grand child components without importing, like angular event emitters

jagoHindu
Автор

Background music not good.. i mean not concert your lesson.. can you delete or decrease sound and re-upload.. Please.

srinivasbollaram
Автор

i am an angular devloper still i dont know why i am watching this

savage-qwgk
Автор

Dear it's parent to child relationship, not child to parent, i think if you do so child to parent relationship then use callback's .i also wanna try to do so.you also help me i share you git repo if you can.my problem is i can sahare data from child to parent but not work for me

syedkashifnaqvi
Автор

This is parent to child connect not child to parent connection :(

SyedAmirAli
Автор

video not following his title, this is parent to chlid and it's kind of obvious for react devs

yonimoshe
Автор

Good video but the title is misleading. This is parent to child, not child to parent.

abbisalmi
Автор

Feedback: (Everything is IMO of course) Time is precious and you talk slowly; bad combination. Also, for a 2019 video you probably shouldn't be coding using legacy class based components. Turning your head to the side to read from another screen is distracting.. put the other screen beside the camera so you are at least facing us when you reference other material for better viewer experience.

skewty