Lifting State Up in React.js in Hindi | Pass Data From Child to Parent in react.js in Hindi

  Рет қаралды 47,861

Yoshita Jain

Yoshita Jain

Күн бұрын

Пікірлер: 102
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
Hi Guys, today our channel completed one month ❤ and you guys have supported this channel tremendously. Thank you so so so much guys for supporting this channel ❤🤗
@dilipdwiveedi1611
@dilipdwiveedi1611 2 жыл бұрын
You keep uploading the new videos of only React... Will keep sharing your channel...❤️🙏💐
@sunnydhiman2242
@sunnydhiman2242 2 жыл бұрын
Ma'am,,, routing ???? link tag is not working bt anchor tag given output..
@niteshchaurasiya1531
@niteshchaurasiya1531 2 жыл бұрын
Congrats ma'am . Very Helpful videos please create a ecommerce project in react with API.
@nawazishali274
@nawazishali274 2 жыл бұрын
@@sunnydhiman2242 make sure Link import from react-router-dom and placed to inside link which page you want to move like to="/about"
@sunnydhiman2242
@sunnydhiman2242 2 жыл бұрын
@@nawazishali274 Sir,, Already done Bt it's not working.. only one problem faced when anchor tag used then output is given bt when I used instead of anchor tag ,,link tag and itstead of href " " ,,, to attribute then output is not given only white screen show And errors also not given?? Solution ..
@rahulreddy3726
@rahulreddy3726 Жыл бұрын
Thanks got clear understanding now ......easy and stright forword explaination
@ravikumawat5731
@ravikumawat5731 Жыл бұрын
Vary nice explain I see many videos in you tube but this one is perfect for learning special for child to parents send data using props .....
@cbum3935
@cbum3935 13 күн бұрын
Way of Explaining things amazing 🔥
@coder_astro
@coder_astro Жыл бұрын
Trust me this concept is not as simple as you have made it with your amazing teaching skills. Watched so many videos but couldn't understand this but your video crystal cleared my concept. Tahnk You Yoshita for your efforts!
@saranshtomar6460
@saranshtomar6460 9 ай бұрын
But it will be easy if you watch anil Sidhu playlist(React Playlist)
@rifatskdev
@rifatskdev 2 жыл бұрын
Worked thank you alot! you're the best bro liked
@shivamkumarsingh1420
@shivamkumarsingh1420 2 жыл бұрын
Very simple and intuitive Approach . I really like this.
@aniksaha8108
@aniksaha8108 Жыл бұрын
Thanks Ma'am this concept is cleared now!
@miss__eliza2317
@miss__eliza2317 Жыл бұрын
Awesome explain ❤️
@AswiniduttBevara
@AswiniduttBevara Жыл бұрын
Thank you @Yoshita Jain for making us understand the complex topic of react [LIFTING THE STATE UP] so easily.👌👌
@KhushbuDharmadhikari
@KhushbuDharmadhikari 8 ай бұрын
Helpful , thanks for video.
@ajinath2151
@ajinath2151 Жыл бұрын
helpful , thanks for video
@kamaludeensiddik3965
@kamaludeensiddik3965 2 жыл бұрын
I Really understand your Concepts very well even though i don't know hindi. Thank you So Much..
@shivugg
@shivugg 2 жыл бұрын
Helpful 👌
@mandorakannu
@mandorakannu Жыл бұрын
Easiest explanation ❤❤
@Ankit-xq3sl
@Ankit-xq3sl Жыл бұрын
Wowooo, i think now I understood 👍
@PROTECHRAHUL
@PROTECHRAHUL 2 жыл бұрын
Such a straight forward approach Yoshita🙏
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
Thank you ☺️
@digiartpassion8513
@digiartpassion8513 2 жыл бұрын
Good job keep it up !!
@sumitk8842
@sumitk8842 Жыл бұрын
Yoshita mam>>>
@anujshukla2913
@anujshukla2913 3 ай бұрын
very helpful video for me
@subhajitdey135
@subhajitdey135 6 ай бұрын
so much better than coursera . Thanks di !
@anish_is_here
@anish_is_here 2 жыл бұрын
Explicit explanation 🙂👍. I suggest you should include some concepts such as DOM, VDOM, ES6+ concepts/features, SPA/MPA
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
Sure I will :)
@RohitYadav-fo3qi
@RohitYadav-fo3qi 2 жыл бұрын
Thanks a lot ma'am for this video. your explanation is amazing.😊
@coding2490
@coding2490 Жыл бұрын
awesome girl, you are great
@sawerasajid4309
@sawerasajid4309 8 ай бұрын
thank you so much i was struggling alot in this concept thanks alot
@काव्यगंगा1062
@काव्यगंगा1062 Жыл бұрын
Nice
@mohdfarman7426
@mohdfarman7426 2 жыл бұрын
Nicely explained
@rajendertanwar1881
@rajendertanwar1881 8 ай бұрын
Understood👍 thankyou
@mayurpatil2833
@mayurpatil2833 Жыл бұрын
Thank your ma'am great explanation 😊
@aaryanpavvitchhabra9265
@aaryanpavvitchhabra9265 Жыл бұрын
maam u r the best i love u
@sheheryarqazi1006
@sheheryarqazi1006 2 жыл бұрын
nice ,
@mrnabby4178
@mrnabby4178 Жыл бұрын
Thanks Yoshita you have taught me so many new things.
@yoshitajain0812
@yoshitajain0812 Жыл бұрын
❤️😊
@mrnabby4178
@mrnabby4178 Жыл бұрын
@@yoshitajain0812 Cant thank you enough for your service. May almighty bless you,
@nawazishali274
@nawazishali274 2 жыл бұрын
Nice content
@KhushbuDharmadhikari
@KhushbuDharmadhikari 8 ай бұрын
Helpful..
@dharmeshgohil9375
@dharmeshgohil9375 2 жыл бұрын
awesome
@thetechtimes
@thetechtimes Жыл бұрын
Thank you so so so much
@saikiran6394
@saikiran6394 Жыл бұрын
Helpful 🙂
@Sujay.Vaidya
@Sujay.Vaidya 2 жыл бұрын
You are amazing🤟❤
@hamzasaleem8152
@hamzasaleem8152 2 жыл бұрын
Thanks you so much for these videos. It's really helped me. Really means a lot Love from Pakistan :)
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
Glad you liked it :)
@hamzasaleem8152
@hamzasaleem8152 2 жыл бұрын
@@yoshitajain0812 Yes you are doing a great job. Thanks for urdu/hindi tutorial. :)
@neerajsharma4808
@neerajsharma4808 Жыл бұрын
8:15 yr mera bhi same error aara esko resolve kaise kru maine v same code type kiya hai.
@demonking7496
@demonking7496 2 жыл бұрын
Congo 👨‍🔧
@jobhikarbefikarrr.638
@jobhikarbefikarrr.638 Жыл бұрын
Yoshita g please improve your recording quality as sound cuts while u slice clips kindly pl dnt mind it's sounds wierd dnt mind yoshita g I m ur regular follower love to watch ur tutriols .so pl improve 🎉n best wishes n good luck for ur upcoming tutriols
@yoshitajain0812
@yoshitajain0812 Жыл бұрын
Yes I understand, I am trying to resolve these issues.. learning day by day 🥺 Thank you for supporting 🫶🏻
@PankajPatel-zh8mf
@PankajPatel-zh8mf 2 жыл бұрын
Good explanation 🙏🌸
@contentshark5122
@contentshark5122 2 жыл бұрын
Nice video !!
@DigiPandaCompany
@DigiPandaCompany 5 ай бұрын
If we will use State in parent page how we can do handle where is use maked function with props I want to make that's page jha I used props ho we can do please help
@kadirraeen2112
@kadirraeen2112 Жыл бұрын
Thnxx u mam♥️
@zaidi7757
@zaidi7757 2 жыл бұрын
Thanks this helps me a lot
@Abdul-Wahid-Orakzai
@Abdul-Wahid-Orakzai Жыл бұрын
simple and to the point; i would suggest not to got for projects you may not have time to manage short playLists could be more helpful and you may give time thanks once again
@UNKNOWN-r3u5k
@UNKNOWN-r3u5k 2 ай бұрын
Hi Dii, the way you explained this topic is superb but I have a question that is there anyway that we can pass the data directly from nested child classes to parent class without pass it through middle classes like useContext and contextapi concepts.
@mayanksaxena7864
@mayanksaxena7864 5 ай бұрын
Mam how can you say the parent is accessing the value? We are just passing the function from parent ot child and then the child is calling the function (not parent).
@rakeshkumarparida98
@rakeshkumarparida98 Жыл бұрын
Mam please answer my question.. what if our children component has some UI which we don't want to show or render in parent component then how we can pass the data ?
@muhammaduzair6705
@muhammaduzair6705 2 жыл бұрын
very helpful :)
@abdullahsoomro6238
@abdullahsoomro6238 3 ай бұрын
💡 In React, data flows in only one direction, from parent components to child components. This is called unidirectional data flow. Parents pass data to children using props, but children can’t send data directly back to the parents. This makes the app’s state more predictable. If you need to communicate from child to parent, you can pass callback functions as props, but the data flow remains one-way. ❌ And the concept of lifting state up is also not taught correctly. ✅ "Lifting state up" in React refers to a pattern where you move the state from a child component to its closest common ancestor (usually a parent component) to share that state between multiple child components. When two or more components need to share data or synchronize behavior, it's often easier to lift the state to a parent component. The parent component then holds the state, and passes it down to the children as props. This allows the child components to stay in sync, as they get the same state from the parent. Here’s a typical example: 1. The child components don’t manage their own state. 2. Instead, the parent holds the state. 3. The children get the state via props and can notify the parent of changes (through callback functions). This pattern ensures that data flows in a single direction (from parent to children) while keeping all dependent components in sync with the same state. 🔗 Reference react.dev/learn/sharing-state-between-components
@ArushDeepGupta
@ArushDeepGupta 4 ай бұрын
the error at 8:19 is due to the reason that you haven't give anything in useState( ) parenthesis incorrect: const [name, setName] = useState(); correct: const [name, setName] = useState("");
@rishabdutt2600
@rishabdutt2600 2 жыл бұрын
Mam, just guide me how to use a component multiples times but with different value for ex- i wanna use dropdown button multiples times but want different dropdown options. kindly reply soon as possible. Thank you .
@kuldeepkumawat6874
@kuldeepkumawat6874 2 жыл бұрын
Faithful video 🙂
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
❤️😊
@RishiRajxtrim
@RishiRajxtrim Жыл бұрын
10:05 Yes, clear to me.
@DanceAndLife-vy6tj
@DanceAndLife-vy6tj 2 жыл бұрын
Hi Yoshita Congratulation ! You did a great job. First time I subscribed a channel for learning react. Last time I give you a suggestion and I could the result in this video. I have few more suggestion. Please let me know If I could tell you.
@Ramu-z2w
@Ramu-z2w Жыл бұрын
good explanation, But how to display "Yoshita" or any name which has given by user on browser. When i click on submit button given value in input should be display on browser of parent component.
@umairahmedofficial1
@umairahmedofficial1 3 ай бұрын
You have to store data in parent coming from child in a State set that data in the function that coming from child component by using useState()
@anuragkasudhan3734
@anuragkasudhan3734 2 жыл бұрын
explained so simply!!! can we lift state without using form in child component?
@chiranjitdey1430
@chiranjitdey1430 2 жыл бұрын
Yes you can. A simple button can do the work also. Attaching the code below, App.js(parent file)****** import Student from "./Student"; import "./styles.css"; const App = () => { const getData = (data) => { {data}; }; return ( Props in react ); }; export default App; Student.js(child file)**** import React from "react"; import { useState } from "react"; const Student = (props) => { const [name, setName] = useState("Sam"); const onClick = () => { setName("Mike"); props.getData(name); }; return ( Hello {name} Update ); }; export default Student;
@tejkumar7383
@tejkumar7383 2 жыл бұрын
I try same code but merko error show ho rha he page refresh ho jaa ha rha please help me
@kasemmuhammad9820
@kasemmuhammad9820 Ай бұрын
thanks
@rushisolanke51
@rushisolanke51 2 жыл бұрын
what if we want to send data from parent to child
@yoshitajain0812
@yoshitajain0812 2 жыл бұрын
You can directly use props
@snehalgawade-n9u
@snehalgawade-n9u Жыл бұрын
Hello, Thanks for covering this topic. I have one doubt here, 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?)
@nikhilkumarsingh6027
@nikhilkumarsingh6027 Жыл бұрын
Bhai state bna ke set karwa do fir use karlo parent mein jaha man kare
@nithinkottary9578
@nithinkottary9578 2 ай бұрын
i think presentation container design pattern works lot a better here.
@saurabhbarasiya4721
@saurabhbarasiya4721 2 жыл бұрын
Please upload full vudeos
@techycode2217
@techycode2217 9 ай бұрын
please make a paylist for react
@ramgopalkashyap8266
@ramgopalkashyap8266 Жыл бұрын
Hello mam please upload some video related to react routing its my humble request from you
@sAuraBhTissout
@sAuraBhTissout Жыл бұрын
kam ni kar rha h mere me
@DigiPandaCompany
@DigiPandaCompany 11 ай бұрын
Could you makes projects of app
@karankoli4738
@karankoli4738 Жыл бұрын
Yoshita mam i am karan koli from maharashtra plzz help to me entry level jobs or any internship for reacts
@yoshitajain0812
@yoshitajain0812 Жыл бұрын
Do you have any experience?
@PravinKumar-qy6vg
@PravinKumar-qy6vg 2 жыл бұрын
please make some projects on react
@avgGamer662
@avgGamer662 Жыл бұрын
Hi cutie
@naveenkumarkota2090
@naveenkumarkota2090 Жыл бұрын
Nothing Undertood
@mukeshtiwari8872
@mukeshtiwari8872 5 ай бұрын
I love you mam 😙😙
@RatanMaurya-i6s
@RatanMaurya-i6s Жыл бұрын
Hi if you have time please uploads video about how to call firebase function in react js for more info please contact me
@AayatKhan-ok3tm
@AayatKhan-ok3tm Жыл бұрын
Nice
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
3 Years Experienced React Interview
1:16:16
ProCodrr
Рет қаралды 106 М.
State Lifting in React 2024 || Episode #65
17:45
CodeHelp - by Babbar
Рет қаралды 16 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН