tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code11:18

React useRef() hook introduction 🗳️

Bro Code ↗

From the creator

#reactjs #tutorial #course 00:00:00 introduction 00:01:01 setup 00:03:02 useRef() 00:05:11 html ref attribute 00:08:06 multiple useRef() 00:10:10 useState() vs useRef() 00:10:28 conclusion // useState() = Re-renders the component when the state value changes // useRef() = Does not cause re-renders when its value changes. // 1. Accessing/Interacting with DOM elements // 2. Handling Focus, Animations, and Transitions // 3. Managing Timers and Intervals

Published 2024-01-12 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code