React tutorial in Hindi #38 Send Data Child to Parent Component

  Рет қаралды 76,120

Code Step By Step

Code Step By Step

3 жыл бұрын

In this react js tutorial for beginners series we learn how to send data from child to parent in react js and how to learn it with interview questions in react js for beginners series. This video is made by anil Sidhu in the Hindi Language.
git link for this video
github.com/anil-sidhu/react-1...
Playlist for complete React series in Hindi
link • React tutorial for beg...
Make a component.
Make a child component?
How Pass Props parent to a child component?
Send data child to parent?
Interview Question.
Join on Insta @php.step.by.step

Пікірлер: 76
@HelloWorld-mn7qp
@HelloWorld-mn7qp 2 жыл бұрын
ekdmmm chamak gaya yarr.... itne easy tarike se toh pure internet pe kisi ne nai bataya hai...... waaahhhh... maze aa gae!! * SUBSCRIBED *
@mayurchaudhari4239
@mayurchaudhari4239 3 ай бұрын
sir apki ek bat bahut achi lagi sabhi video mai aap alag se component banate ho isskaran hume learn hota hai
@SE420
@SE420 3 жыл бұрын
This is the best video on this topic i have found on youtube. Thanks
@chandrashekharmeshram6597
@chandrashekharmeshram6597 Жыл бұрын
Right
@divyanshsinghbhati6026
@divyanshsinghbhati6026 Жыл бұрын
yes, we can pass the props of the first component to the nth no. of components this process is known as props drilling, this method is a pain for developers that's why we use redux State management, this comment is up to my knowledge if I am wrong please, correct me
@anandkrg
@anandkrg Жыл бұрын
Nice way of explanation. You are legend man, lots of good wishes.
@unity3dconcepts434
@unity3dconcepts434 Жыл бұрын
I just fixed 3 bug tickets at my organisation after watching this video.. hahahaha... Thanks paaji...
@seetaverma4967
@seetaverma4967 Жыл бұрын
Only bcz of you i am a react developer now.
@aps8511
@aps8511 Жыл бұрын
Thanks Man!!! Crystal Clear Explanation.
@programming3617
@programming3617 Жыл бұрын
Great explanation.... thank you for clearing up this concept
@muhammadharis650
@muhammadharis650 Жыл бұрын
You are a legend!!! I've seen a lot of videos on the internet & I'd call them 'Hack' but your video has proof from reactjs docs Edit: 1 subscriber up!
@mohammedaliyaan7130
@mohammedaliyaan7130 2 жыл бұрын
Thank you so much for this wonderful explanation, Bless you
@jawadahmed55
@jawadahmed55 2 жыл бұрын
Your Great Bro....Thank For Create The React Js Tutorials
@samarjitswain6997
@samarjitswain6997 Жыл бұрын
yes, it can happen. same as before we have to pass the function to the super child as props.
@keerthanachar
@keerthanachar 3 жыл бұрын
Thanks bro, You Saved me!
@codewithmhj
@codewithmhj 3 ай бұрын
Yes we can pass the function to the every nested child as props...
@user-wx8lx1hv3w
@user-wx8lx1hv3w Жыл бұрын
Hello, Thanks for covering this topic. Could you please explain after state lifting how to use that data in the parent component which we have received from child component? (Now we can print that data in the console but how to access that data outside the function?)
@jameelahmed870
@jameelahmed870 2 жыл бұрын
loved it !!
@funterban6536
@funterban6536 Жыл бұрын
awesome sir awesome explanation
@mohammedzaheer4215
@mohammedzaheer4215 Жыл бұрын
Yes we can pass data from multiple components to parent component through callback function..
@yogeshlandge7832
@yogeshlandge7832 10 ай бұрын
Besttttttt teacher ❤❤❤
@techcraft5477
@techcraft5477 3 жыл бұрын
Love!
@play4life428
@play4life428 6 ай бұрын
using context hook to share data among any component or accessible data to every component
@vikaskashyap7500
@vikaskashyap7500 Жыл бұрын
yes, we can access function in super child component
@Yashbhatiaa35
@Yashbhatiaa35 19 күн бұрын
good
@DeepakGupta-hj2dv
@DeepakGupta-hj2dv 3 жыл бұрын
node js ki complete updated series bna Do
@ashurajput357
@ashurajput357 Жыл бұрын
Yes we can call that
@fahadraza7152
@fahadraza7152 Жыл бұрын
sir, why do we send data from child to parent?..as React uses a Flux architecture concept.
@shivcoder3610
@shivcoder3610 Жыл бұрын
thanks again
@goldybhardwaj8314
@goldybhardwaj8314 Жыл бұрын
Yes !!!
@TarunKumar-bh9pl
@TarunKumar-bh9pl Жыл бұрын
thanku sir
@Hemant_here
@Hemant_here Жыл бұрын
I have one interview questions that is asked by my recent interview that is can we use multiple catch block in single try block in JavaScript Or react...
@ismileSardar
@ismileSardar Жыл бұрын
Yes, you can..
@sarfarazsheikh7378
@sarfarazsheikh7378 2 жыл бұрын
Yes we can pass data to superStudent we need to pass props to everysubset to reach that last level superset
@vaibhavshukla5256
@vaibhavshukla5256 2 жыл бұрын
Redux
@md.mohiulislam6516
@md.mohiulislam6516 Жыл бұрын
best
@letsexplorenow
@letsexplorenow 4 ай бұрын
Good explanation
@codestepbystep
@codestepbystep 4 ай бұрын
Thanks for liking
@RishiPradhan-kf1cr
@RishiPradhan-kf1cr Жыл бұрын
Thank you sir
@codestepbystep
@codestepbystep Жыл бұрын
Welcome
@suyashrajput5814
@suyashrajput5814 Жыл бұрын
God vai god
@rajeev1668
@rajeev1668 2 жыл бұрын
How to call super students method in patent components ?
@yashsardhara
@yashsardhara 2 жыл бұрын
'alert' is missing in props validation. why I'm showing this error
@zainabideen8144
@zainabideen8144 2 жыл бұрын
We're sending data from child to parent on an event click like button. Is there any way we can send data without any click event may be through useEffect?
@sultaniftikhar4334
@sultaniftikhar4334 Жыл бұрын
@roxshivamsingh
@roxshivamsingh 2 жыл бұрын
Sir yhi sbse better approach h data parent m send krna ka?
@SomagondaPatil
@SomagondaPatil 2 жыл бұрын
Can I pass formik props to parent component
@jagpreetsingh8288
@jagpreetsingh8288 3 жыл бұрын
Using context api
@defencecomeback9790
@defencecomeback9790 10 ай бұрын
hii sir thanks provide video nide concept
@Hemant_here
@Hemant_here Жыл бұрын
What is single line callback in JavaScript
@mohanjadhav4749
@mohanjadhav4749 Жыл бұрын
how do we pass the set from chaild to parent componet. Lets ex. from child I will pass name and now I want to update its setName() from parent how we do this. note: setName exist in child
@mdwazid4806
@mdwazid4806 2 жыл бұрын
how to call child component function from Parent component, could u please help me. I am not getting any proper answer from google also.
@tallentedhai4238
@tallentedhai4238 Жыл бұрын
bhai jese ki is video m tha function k ander child ka data send kr diya , usi threy uske ander function ko bhi bhej sakte hai. We passed the function as a prop to the Child component, so it is able to call the function and pass it any data/function we need to access in the Parent. Simple meaning is that function k parameters m data ki place pr function 😊😊👍.
@praviningavale1185
@praviningavale1185 3 жыл бұрын
Can we use Hooks Context for such communication ?
@shubhamsharma-ew4wv
@shubhamsharma-ew4wv 3 жыл бұрын
yes, you can use Context API " useContext"
@Sahinkasapna
@Sahinkasapna 2 жыл бұрын
Yes, you can use for vice versa
@ashvins116
@ashvins116 Жыл бұрын
ha
@Namaste-Sahu
@Namaste-Sahu Жыл бұрын
Ye sirf console me show ho rha he mujhe h1 tag me print krna h to me kaise krunga please suggest.
@keshavjha9835
@keshavjha9835 3 жыл бұрын
6:17 pe arrow function kyu use kiya hai
@vivek24864
@vivek24864 3 жыл бұрын
isliye use kiya, quki bhai nai, function alert k bad Round bracket ka use kiya (). so, iski waja say if arrow function nahi lagata vo to uska function onload par he automatic run karjata. try karke dekhna, isliye callback function ()=> lagana pada.
@ASH12626
@ASH12626 2 жыл бұрын
@@vivek24864 Thankx
@livebandar6615
@livebandar6615 2 жыл бұрын
Ans:-Yes
@gajendrasharma3516
@gajendrasharma3516 10 ай бұрын
hello sir kya hum one time me parent to child and child to parent data transfer kr sakthe h
@codestepbystep
@codestepbystep 10 ай бұрын
Yes
@aadil4236
@aadil4236 2 жыл бұрын
No you can't use parentAlert function into the inner most child component without passing it as a props from component to component. Is that correct??
@junaidkhan4302
@junaidkhan4302 Жыл бұрын
basically answer is yes we can do this is doesn't matter how can i do 😂😂
@syedmubeenhussain6317
@syedmubeenhussain6317 Жыл бұрын
ans => ha
@robinmathew8828
@robinmathew8828 2 жыл бұрын
The value is not passing to child class
@himanshuhemant6603
@himanshuhemant6603 2 жыл бұрын
Siblings me data kaise pass karenge ??
@ShivamSharma-rq9ne
@ShivamSharma-rq9ne 2 жыл бұрын
Through common parent of both. Then parent to another sibling
@pankajpal5361
@pankajpal5361 2 жыл бұрын
apka instagram band hai show nahi kar raha
@ankursoni6286
@ankursoni6286 Жыл бұрын
ha
React tutorial in Hindi #39 Pure component in ReactJs
11:50
Code Step By Step
Рет қаралды 57 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 31 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
React tutorial in Hindi #40 useMemo Hook
8:51
Code Step By Step
Рет қаралды 97 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 459 М.
React tutorial in Hindi #18 Conditional rendering | If Condition
8:11
Code Step By Step
Рет қаралды 77 М.
React tutorial in Hindi  #20 Pass Function as Props
8:08
Code Step By Step
Рет қаралды 64 М.
Passing Data from a Parent Component to Child Component in React JS
11:11
What Is "Lifting State Up" in React? || Newton School
16:57
Coding Monks | Newton School
Рет қаралды 3,1 М.
React tutorial in Hindi  #55 Pre-filled form Data
8:15
Code Step By Step
Рет қаралды 29 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН