filmov
tv
Strong typing useRef : React + TypeScript

Показать описание
TypeScript and React sometimes need a helping hand so they can play ball well together. Let‘s check how to use `Ref` and forward our `Ref` onto different components to interact imperatively with the DOM. We will do that while creating a nice and accessible Audio Player 🎸
📽 Chapters
0:34 Ref: what is it? What is it used for? 🧐
2:04 Get started with the Player component 🎧
3:54 Typing the Player component 🔒
4:42 Controls component 🕹
6:35 Add types to the Control component 🔒
8:24 Create a Ref with useRef() hook 🪝
9:19 Add audio source 🎶
10:10 Everything working!! 🚀
📽 Chapters
0:34 Ref: what is it? What is it used for? 🧐
2:04 Get started with the Player component 🎧
3:54 Typing the Player component 🔒
4:42 Controls component 🕹
6:35 Add types to the Control component 🔒
8:24 Create a Ref with useRef() hook 🪝
9:19 Add audio source 🎶
10:10 Everything working!! 🚀
Strong typing useRef : React + TypeScript
Fix your useRefs with ElementRef
React TypeScript Tutorial - 16 - useRef Hook
Learn TypeScript with React - Handling the useRef Hook
A Trick Every React Developer Should Know: Ref Forwarding
React Typescript Tutorial - ClickHandlers and useRef - React TS Crash course - Day#6
React&TypeScript: useRef/forwardRef/createRef #5
Handling Type Errors in TypeScript with the useRef Hook in React
useRef hook in reactjs | Easiest way
Intro to ReactJS - Part 7b - useState, useRef and function - Typescript
No BS TS #21 - Typescript/React - Hooks
React useRef and forwardRef in depth
React Hooks : useRef Hook in 4 minutes | Javascript And Typescript | 2021
React Hooks - useRef forwardRef
useRef on Native HTML Element on REACT HOOK Component
Proper Types for useRef with useEffect and Event Listeners in React
Is Using the null-Forgiving Operator with useRef a Bad Practice?
Blazing Fast Tips: React & TypeScript
React 23: forwardRef
Mastering the useRef Hook in React: A Comprehensive Tutorial
React JS Tutorials | Master useRef in React | React JS From Beginner to Advanced Crash Course
Fixing the useRef TypeScript Error in React Native's Custom TextInput
How to Fix offsetHeight Property Issue in React's useRef
How to Properly Use ref with a Reusable Wrapper Component in React with TypeScript
Комментарии