useRef Basics

Опубликовано: 24 Июнь 2024
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн useRef Basics длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь unblockMe 24 Июнь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 21 раз и оно понравилось 1 зрителям. Приятного просмотра!