useRef Basics

Publicado em: 24 Junho 2024
no canal de: unblockMe
21
1

In this video, we’ll discuss the basics of the useRef hook, a fairly powerful hook that lets us gain access to the underlying DOM nodes for React components.

Lucid Dreaming by | e s c p | https://escp-music.bandcamp.com
Music promoted by https://www.free-stock-music.com
Creative Commons / Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/...

You can find the code for this example here: https://github.com/XINX-Media/unblock...

➡️ Join our FREE Community on Discord:   / discord  

----------

🌐 About unblockME
unblockME is the best developer community where programmers come together to meet, learn, connect & grow. We provide educational content on frontend development & backend development technologies. If you’re looking to level up your programming career we share the best tips & tools to land a programming job you love.

----------

⌛Chapters

00:40 What is useRef?
02:29 Basic Example
03:35 Form Example
05:29 Reference to DOM Element
07:20 useRef won't re-render
09:21 Focus with useRef
11:09 Other DOM Properties
12:10 Other Use Cases
12:53 Summary

----------

Subscribe to the channel and turn on the notification bell to get notified when new weekly videos are released.


Nesta página do site você pode assistir ao vídeo on-line useRef Basics duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário unblockMe 24 Junho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 21 vezes e gostou 1 espectadores. Boa visualização!