Learn useRef React Hook in 10 Minutes | React Hooks Tutorial for Beginners

preview_player
Показать описание
In this video we are going learn everything about React Hook useRef. How we can use useRef hook to get the reference of DOM element and how we can store mutable value in useRef between component re-renders. useRef is like a “box” that can hold a mutable value in its .current property.

***Checkout pre-requites videos in case you have missed ***

🔥 Covered 👇
- useRef hook example to access DOM
- useRef hook example to hold mutable values
- useRef hook to store previous state values

***Checkout these video to understand better***

***Checkout my crash courses for get started with web development***

🔗 Social Medias 🔗

⭐️ Hashtags ⭐️
#Reacthooks #useRef #Tutorials

Disclaimer:
It doesn't feel good to have a disclaimer in every video but this is how the world is right now.
All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Рекомендации по теме
Комментарии
Автор

I didn’t understand about useRef even read doc. Now i understand about useRef. Thanks ❤

hardheart
Автор

Hi, you're a great teacher, learn a lot . Thanks for time and explanation

mohamedassalladicko
Автор

Here after I don't see highly subscribed channel.this channel show explain perfectly

sanjayl
Автор

best tutorial to understand useRef hook

umerusman
Автор

Hello Dipesh, Thanks for your explanation. I have a doubt
1. Why should we use useRef for referencing an element? Why can't we do the same task using query Selector?

ananthboudhmanabhan
Автор

Thanks so much for making useful videos.

karthiksalugu
Автор

Wow it was useful content for tricky concepts 😉

iAmAshuSahoo
Автор

Great outstanding explanation sir ...hope next video upload custom hook, usememo, usereducer, use context hook please complete series

DeepakGupta-pzfx
Автор

Hello, sir
Please make a series like this on class based life cycle method.
Thank you for ur valuable knowledge sharing and helping for beginners. 🤝👍

ganeshkosanam
Автор

But cleanup is happening every time ..how to do clean up only once at the end ..like when component unmount.btw great 👍 content it helps a lot .

jyotrimayaswain
Автор

pls bro make some videos about redux middleware

aravindrooswelt