Love the way you explained `useRef`! The comparison with `useState` was really helpful in understanding how `useRef` keeps values persistent across renders without causing re-renders. Also, the example of accessing DOM elements using `useRef` cleared up a lot of confusion. Thanks Love Bhaiya for making it so simple to understand!
bhaiya thanks apki video se kafi accha concept clear hua sare hooks dekhe love you hope your videos get love in milllions hidden gem soon everyone will find it
To those who have doubt about the fast pace running of the timer after clicking on Start button multiple times, just make a slight change in the function StartTimer():-- function startTimer() { // Check if the timer is already running if (!timerRef.current) { timerRef.current = setInterval(() => { setTime((prevTime) => prevTime + 1); }, 1000); } }
One issue is there, if you click on the start button multiple times, multiple instances of clearInterval are created, rather we need to create a instance only when the above condition exists: if(interval.current === null)
Sir please explain about how 'state batching works' in react. In the basic counter example, when multiple state updating is done, until a callback function is used it doesn't work, why is that?
ek number bhaiya abhi tak useRef persistent vale kisi ne nhi bataya tha .
the one thing->" dobara samajhte hain" is the best and it just puts the logic in our mind
I have 3 yr of experience in react but today i understood useRef clearly 💯
Thanks bhaiya ❤
really 🤣🤣🤣🤣👍👍
We want 2 videos in a day
Ab to ek v nahi aa raha h
Either DSA Or Dev this guy is superb!
I Love you sir Ap jaisy teacher ho na to kabhi kisi ko parny ma taklif nhi hogii My Inspiration. Thanks Sir
Love the way you explained `useRef`! The comparison with `useState` was really helpful in understanding how `useRef` keeps values persistent across renders without causing re-renders. Also, the example of accessing DOM elements using `useRef` cleared up a lot of confusion. Thanks Love Bhaiya
for making it so simple to understand!
Thank you bhaiya, useRef() me bahut dino se confused tha,
Mst clear ho gyaa😊
This course is well structured, Whoever want to learn Mern stack don't take paid courses if this type of content available. ✅
bhaiya thanks apki video se kafi accha concept clear hua sare hooks dekhe love you hope your videos get love in milllions hidden gem soon everyone will find it
Consistency++ Thank You so much sir we are waiting for next videos❤😊
Concept clear samajh me aa gya bhaiya😊
ek number bhaiya consistency ++
Thanks a lot , got clear understanding of useRef hook
Everything is clear in this video without any doubt. thank you so much bade bhaiya🙏🙏🙏🙏🙏🙏
You are doing great..such a great teacher.. thanks for providing this content.
going really well thanks a lot
Great Explanation of useRef hook ❤❤
1 number concept bhai
Next Level Teaching Brother 💕💕
Dil khush kr dita😊
Thankyou bro for explaining useRef usecases in very good manner
Thanks bhaiya
I am not able to understand this topic but know clear
Love you bhaiya ji ❤ you are amazing personality
Love naam sun ke flower smjha kyaa fire hai fire 🔥🔥🔥🔥
Waiting for next video
everything is clear brother
To those who have doubt about the fast pace running of the timer after clicking on Start button multiple times, just make a slight change in the function StartTimer():--
function startTimer() {
// Check if the timer is already running
if (!timerRef.current) {
timerRef.current = setInterval(() => {
setTime((prevTime) => prevTime + 1);
}, 1000);
}
}
Bhaiya maza to aa raha h lekin continue video upload kijiye please
thank you bhaiya. Great video
Bhaiya apko kse pta chlta hai ham kha fass rhe...mtlb ekdm accurate pain point with perfect example..
great video bhaiya
kya series hai bro mja aa gya
clearly understood bhaiya
Bhaiya bring some exciting projects using these hooks🙌🏻👍🏻
Sir maza aa gya what a great explanation
Excellent
One issue is there, if you click on the start button multiple times, multiple instances of clearInterval are created, rather we need to create a instance only when the above condition exists: if(interval.current === null)
Great sir ji👍
Thank you sir ❤
thank you so much for your hard work sir
Good explaination
Please upload more video.
consisitency++ thank you so much always providing great in source of Knowledge
thank you so much bhaiya ❣
course kb tk complete hoga bhaiya
sir 2 videos daliya / day bcz kafi tym sa pending thi esliya ab jldi jldi cover karni ha
Thank you bhaiya
good video sound in this video always make this kind of sound in entire web dev series. try to make voice louder in all videos
Thank you very much
Bhaiya ko Like dekar support karo aur subscribe karna mat bhulna sare...❤
Thanks
mja aa gya bhaiya
u are superb
we need to pass onclick event as arrow function right how it is working here
Consistency++
Thank you ❤
thank you
continue it bhiya
Sir please explain about how 'state batching works' in react. In the basic counter example, when multiple state updating is done, until a callback function is used it doesn't work, why is that?
useRef completed
thankyou sir
mock test is not working on your website codehelp
maja aagyaa bhaiyaaa....
Sir ek mini project bhi lejiye plz
bhiyaa thanks for educate us
Thank you sir
guys please like and share the videos
I think its used because useState is Asynchronous in nature
very helpful
Continue please
Best!
sir ji aapne do variable liye hai count and useref wala variable main agar count wala variable nhi le raha hu to ye kam nhi kar raha hai
First comment and view
bhaiya or jaldi jaldi videos daalo
Why videos aren't in 4k?
Are bhai tu video 360p pr bhi dekh skta hai
@@unstoppable-ayush why ??? Bhaiya can upload in 4k his few videos are in 4k. Hope bhaiya will upload in 4k
bhaiya 1 video roj lao na
ForwardRef explain kardo sir
Bhaiya stop watch wale code me agar start button pe multiple times clicks kare toh timer fast chalne lagta hai.
How to fix that issue
Ab SQL course leke aao sir plsss
2 video daily sr
Understand
Website Mock Test Not Working
Great
❤
hi placement nahi lag rahi\
Bhai Tab Tak Code Likho Code Likho.
Smjh gya
❤❤❤❤
😍😍😍
Wow
bahi baqi videos be upload kr do plz
Massallah
🙏🙏👍👍❤❤👌👌🔥🔥
super++
ek aur pyaara sa comment
understood++
12 din lag gaye redux sikhne m....🤪
🙂
comment😁
video ana closed ho gya , bhaiya