lifting stae up state locally hota he ---yani ki wohi componenet me use ho skata he. but parent component ke state ko child component kese use kar skate he solution is --props through and most of the time ham jab state banate he tab ek hi component me rakhte he bcz aasani rahe state ko manage karne ko sabi jagah jake dekhna na pade. state use karne ke liye as a attribute pass karenge dusre componenent me 7:15 to 8:55 start here
@awabmehar13662 жыл бұрын
This is not an example of Lifting State Up. This is simply pass data by props .
@AmitabhSuman Жыл бұрын
I read the comments about this not being an example of Lift State up and checked a few other videos along with ReactJS website, this is the correct example of Lift State up. If I am missing anything, kindly point to right example.
@abdullahamin45042 жыл бұрын
Hellow ----- My self Abdullah from bangladesh . I Watch your video regularly and now i complete django playlist. i learn everything from your youtube --- thank you --- Brothor I have a request to you that please make a video how to use django custom admin panel instead django default admin templare.... please please please --------- i wait for your notification
@iam-Inder4 жыл бұрын
most of your tutorial is very good but sorry to say this is not an example of Lifting state up. Here you simply passing state as a prop and using it, simple.. we have seen it many times. Lifting state means, we declare states in the parent component so that child components not only can share it as a prop but also make changes into parent state so that it reflects in both the child component. Because PROPs are ready only and child component cannot change it and nither it changes the parent state directly, So we need a handler function, which we declare in the parent class and pass it to the child as a prop. That function change the State in parent class which further reflects in other child components. You miss the main quark here.
@salmansaysit2 жыл бұрын
Bro. this is not lifting up you are passing state from parent to child. Lifting up when going upward in the chain for make child state data available in parent
@CodeTravel5 жыл бұрын
this video is showing the use case with props. thanks.
@RafikulHasanSara5 жыл бұрын
is ka title hona tha "How pass values from one component to other component "
@SACHIN-gd6zy5 жыл бұрын
use props
@milindkhadse5563 жыл бұрын
This is very helpful thank you
@ankurgangwar4923 Жыл бұрын
but jo bhi samghaya (parents to child) way of explanation tagda tha
@vishalgohel4925 жыл бұрын
Hello bro apne state or props ka video banaya tha use me apne bola tha state ko modify Kar sakte he & props ko modify ny Kar sakte he....... E shame to modify ho ra he
@DeepakGupta-hj2dv5 жыл бұрын
Virtual dom pr video nii bnaya sir. Virtual dom ka kya use hai...?
@studymaterialinfo3 жыл бұрын
Sir plz make a tutorial series on node js
@kiranjuwale41152 жыл бұрын
thanks sir
@Realnoooob4 жыл бұрын
If we want to receive updated state from user to guest and render it on app.js ........ Galat concept h aapka
@farhan6206 Жыл бұрын
helpful
@svatirathod37534 жыл бұрын
ho to use ref in functional component??
@hometvfirestick3 жыл бұрын
thanks
@muhammadhassan75765 жыл бұрын
Aslam o Alaikum , hope you are doing well, have you created advance react.js with complete project ?
@geekyshows5 жыл бұрын
There is nothing like Advance React JS, this is all about React JS. I will upload complete project soon
@muhammadhassan75765 жыл бұрын
@@geekyshows very nice, and thanks for reply, how long it will take
@muhammadhassan75765 жыл бұрын
@@geekyshows How long it will take , Ms is k leya ap ko pay bhi kr skta agr ya complete project mgy jldi mil jay plz.
@ankursharma43043 жыл бұрын
This is not the example of state up lifting
@vikk12493 жыл бұрын
nice video bhai
@naumanzepto13435 жыл бұрын
sir ye this key word wala fanda b samjha dain or basic concept clear karwa dain event loop etc or jo b hain iss trah k
@geekyshows5 жыл бұрын
for that you have to learn JavaScript
@naumanzepto13435 жыл бұрын
@@geekyshows i had completed core javascript but not found this lecture
@geekyshows5 жыл бұрын
Kindly Follow the Advance JavaScript goo.gl/mNTBhU
@ranafaraz40683 жыл бұрын
as i know this. was used in class based component and now in function based component we dont use this . we simply use props.
@i_m_sheikh_ammar2 жыл бұрын
@GeekyShows You show how pass state from parent to child through props but not tell how pass state from child to Parent ? Anyone Explain this Please.
@vishnuvardhan.s Жыл бұрын
For passing state from child to parent, its not possible. Solution is to maintain your child state in parent itself and pass the state and setState to the child. If you feel you are passing around so much states like this from parent to child, its high time you move to state management tools like redux or zustand.
@manojrawat5756 Жыл бұрын
❤❤
@dip11it Жыл бұрын
muje laga apke pas bohut knowlege hai, ap toh dusre ke video dekhke video banate ho, aur thik se copy vi karne nhi ata apko , 15 mins ki video props passing discuss ki. lifting state up hota hai jab child se value parent pe bheja jata... lol
@manishabanjara33608 ай бұрын
This is not example of lifting state
@DhruvRathiTheCondom2 жыл бұрын
its a wrong you are teaching about props not lifting up state.