Grasp things - Lifting State up - It is the process in which when the two sibling want to share the same data / state at that time the data or state is moved to the parent so that the parent can give them the data (share the data) in the form of the props, this concept is known as the lifting state up.
"Lift state up" is a concept in React that refers to moving the state from a child component to a parent component. This is useful when multiple components need to share the same state or when a child component needs to communicate changes to the parent. _____Why Do We Need to Lift State Up?______ Shared State: When two or more child components need to access the same piece of state, lifting that state to the parent component allows all the children to access and update it. Single Source of Truth: It helps maintain a single source of truth for the state, making it easier to manage and debug. Better Control: By lifting state up, the parent component can have better control over the child components, managing their state and behavior from a central place.
the concept you taught about lifting state is correct. But example is not actually lifting state up its prop drilling. you are not lift state from child to parent. you directly move state to parent and then passing props to children
I wonder at first place while seeing a thumbnail and then think that may be React update himself in v19 series and add the ability of lifting state up but really sorry if you hurt this is not lifting state up method m.
@@legendaizy482 first of all you have to use itself in place of himself . React JS tmhara chota bhai nhi hay . The second thing is that Thapa Technical jo keh rhay hain sahi keh rahay hain , Tum gyan mat pelo faaktu ka , or message roman may likh diya karo , magar himself na bnaya kro react js ko
@@owaisnadeem2751 hehehe nice mind ok brother I have no issue I already learned and work at Us company as a senior developer if you happy with wrong concept then I have no issue. But brother atleast you to search once about react lifting up state method you will never see any search result about this type of query.
@@owaisnadeem2751i think @legendaizy482 bhai shi keh rhe hai react me maine bhi lifting the state up concept nhi padha hai or rhi baat prop drilling ki to bhai drill bahar se ander ki or hoti h yhi sense bnta h isliye jab prop parent to child transfer ho rhe h nested level tak to Prop drilling concept create hota h or ha child to parent talk ko i think event bubble up method kehte hai jisme child method ki help se parent tak change data ko transfer krta hai.
@@legendaizy482Bro i have a question if possible please reply. Can't we use InputValue component's value as prop in DisplayValue and render it on display? Why do we need to declare it on App.jsx ?
Hello sir i have a question. Kya hum InputValue component ki value as a props DisplayValue me pass kr ke InputValue component ka data render nhi kr skte h ? Fir hume InputValue component ke useState method ko App.jsx me declare krne ki jrurt nhi pdegi.
🔥 Access PPT & Notes here : www.thapatechnical.com/2024/06/why-you-need-to-lifting-state-up-in.html
🔥 Access Free Source Code & PPT here : github.com/thapatechnical/react-19-series-thapa-technical
📺 Discover React.js History in Just 10 Minutes - ua-cam.com/video/MiK2bFqhg1U/v-deo.html
📺 Watch the complete Playlist here : ua-cam.com/play/PLwGdqUZWnOp1Rab71vx2zMF6qpwGDB2Z1.html
Thapa Technical always provides the latest tutorials and teaches us in a very effective way, making him one of the finest educators on UA-cam.
Nice teaching style and indepth explanation
This React 19 tutorial course is awesome❤🧡💛💚💙💜
This is a fantastic series.
I love it so much...
Awsom bhai no other videos has this kind of content.
Explaining Level 📈 top notch
Respect Sir 999999+ ❤🔥
Explaining Level top notch
Respect Sir .
Clear the concept....Thank you sir🥰
amazing content
Awesome Video 👌
A good Explaining Level .
Grasp things -
Lifting State up - It is the process in which when the two sibling want to share the same data / state at that time the data or state is moved to the parent so that the parent can give them the data (share the data) in the form of the props, this concept is known as the lifting state up.
Thank you sir for this great React js series
Best course sir❤❤❤❤❤
thanku . first time understood ... why have stopped your 100days javascript interviews questions ??give reply .dont stopped .because we have need more
"Lift state up" is a concept in React that refers to moving the state from a child component to a parent component. This is useful when multiple components need to share the same state or when a child component needs to communicate changes to the parent.
_____Why Do We Need to Lift State Up?______
Shared State: When two or more child components need to access the same piece of state, lifting that state to the parent component allows all the children to access and update it.
Single Source of Truth: It helps maintain a single source of truth for the state, making it easier to manage and debug.
Better Control: By lifting state up, the parent component can have better control over the child components, managing their state and behavior from a central place.
very good sir
very awesome videos
Nice love from Bangladesh.
bhai aj pahli bar smjha m asli m kya h ye ..baki kitni videos dekhi thanks bro...make a NEXT JS course also bro.
sir muze console pe component wala option nahi dikhayi de raha
how can we update props in inputcomponet while the props are read only....??
thank you so much sir for React v19 series
This react 19 tutorial is best ❤❤
keep making such awesome videos
Good Series.👍👍👍👍
Sir How you get component tab in developer mode kindly tell me if know any one
React developer tool chrome extension
@@Br0_CoDeSThanks
best react course
15:29 sir component mara vi hai but kaha sa aa gaya pata nahi 😢
React developer tool chrome extension
hello sir i want to components in console window?
understood very well
❤👍🏻 useful information
superrrrrr explaing ❤
You have to study more and more
bhai aap best ho aise hi pad😍😍😍hao aap
Component kaha se download karna hain
React developer tool chrome extension..... install chrome extension from google
pls share component chrome extension
React developer tool chrome extension
Vai plz app thoda react ka roadmap vi share karte to bohut accha lagta
Nice sir..
Thanks sir ❤
in animation use dark mode. so it can easy to watch
React Component Extension: install this extension from chrome automatically work for developer.
the concept you taught about lifting state is correct. But example is not actually lifting state up its prop drilling. you are not lift state from child to parent. you directly move state to parent and then passing props to children
That's why it's called lifting state up send the state to the nearest component
Good❤
Bhai , please create a full stack Netflix clone in this series
love from pakistan
O sir excuse me this is not lifting state up because React JS doesn’t have the ability of lifting state up 😂 . This is called props drilling .👏
I wonder at first place while seeing a thumbnail and then think that may be React update himself in v19 series and add the ability of lifting state up but really sorry if you hurt this is not lifting state up method m.
@@legendaizy482 first of all you have to use itself in place of himself . React JS tmhara chota bhai nhi hay . The second thing is that Thapa Technical jo keh rhay hain sahi keh rahay hain , Tum gyan mat pelo faaktu ka , or message roman may likh diya karo , magar himself na bnaya kro react js ko
@@owaisnadeem2751 hehehe nice mind ok brother I have no issue I already learned and work at Us company as a senior developer if you happy with wrong concept then I have no issue. But brother atleast you to search once about react lifting up state method you will never see any search result about this type of query.
@@owaisnadeem2751i think @legendaizy482 bhai shi keh rhe hai react me maine bhi lifting the state up concept nhi padha hai or rhi baat prop drilling ki to bhai drill bahar se ander ki or hoti h yhi sense bnta h isliye jab prop parent to child transfer ho rhe h nested level tak to Prop drilling concept create hota h or ha child to parent talk ko i think event bubble up method kehte hai jisme child method ki help se parent tak change data ko transfer krta hai.
@@legendaizy482Bro i have a question if possible please reply. Can't we use InputValue component's value as prop in DisplayValue and render it on display? Why do we need to declare it on App.jsx ?
❤❤❤❤❤
♥♥♥
Ek child se dusre child bolne se behtar hain Sibling bol dete sir G to samajhne me aur asan hota.
❤❤
😎👍
▌║█║▌│║▌│║▌║▌█║Thank you so much sir. ▌│║▌║▌│║║▌█║▌║█ 🎲🎲🎲🎲 (9-1-2025)
Hello sir i have a question. Kya hum InputValue component ki value as a props DisplayValue me pass kr ke InputValue component ka data render nhi kr skte h ? Fir hume InputValue component ke useState method ko App.jsx me declare krne ki jrurt nhi pdegi.
clear
bhai main already apko do account se subscribe karke hu