
ByteGrad
チャンネル登録者数 18.3万人
34万 回視聴 ・ 11195いいね ・ 2023/09/04
👉 NEW React & Next.js Course: bytegrad.com/courses/professional-react-nextjs
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Add auth to your app FAST: bit.ly/3QOe1Bh
👉 NEW React & Next.js Course: bytegrad.com/courses/professional-react-nextjs
👉 Professional JavaScript Course: bytegrad.com/courses/professional-javascript
👉 Professional CSS Course: bytegrad.com/courses/professional-css
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): email.bytegrad.com/
⏱️ Timestamps:
0:00 JSX to TSX
0:28 Typing variables
1:28 Typing functions
2:55 Typing React components
3:17 React.FC
3:52 Typing props
6:37 Extracting type
7:20 Benefits of TypeScript
7:44 Optional
8:14 Benefits of TypeScript (cont.)
8:35 'any' type
9:14 Type return value of component?
9:38 Union type
10:03 Extracting type
10:45 Typing arrays
11:32 Tuple type
12:21 React.CSSProperties
14:38 Record type
16:01 Typing functions
17:18 Typing children (React.ReactNode)
18:34 React.JSX.Element vs React.ReactNode
19:42 Typing useState setter function
21:01 Default prop values
21:35 Type Alias vs Interface
24:00 ComponentPropsWithoutRef
26:52 ...rest and ...spread
27:49 Intersection (&)
29:03 Interface extends
29:34 Typing event handler functions
31:13 Typing useState hook
34:33 Typing useRef hook
35:29 'as const'
36:55 Omit utility
37:38 'as' Type Assertion
38:31 Generics (EASY!)
42:00 Generics in React
45:10 index.d.ts vs types.ts
45:34 import type
47:05 'unknown' type
48:20 Zod
48:58 ts-reset library
49:28 Third-party types ('@types' / DefinitelyTyped)
50:33 tsconfig.json
52:09 next-env.d.ts
#webdevelopment #programming #coding
Note that my videos may contain mistakes. Always verify yourself that your code is safe and does what you want it to do for your specific situation. You agree by watching the videos that you are solely responsible for any mistakes in your code.
This channel and all its content is owned & operated by ByteGrad Sp. z o.o. with Tax ID: PL6762676561 .
.
TOP resource to LEARN AI for Developers - datacamp.pxf.io/RGyxrR (paid sponsorship & ByteGrad Sp. z o.o. gets comm
コメント
関連動画

Create a Stopwatch in ReactJS | Frontend Interview Questions | ReactJS Important Interview Questions
81 回視聴 - 6 日前

🌧️ Cozy Chicago City Bedroom Ambience 🎶 Relaxing Piano Jazz Music on a Rainy Night for Deep Sleep 💤
5,843 人が視聴中 -

All The Typescript You Need to Know For React Development - Learn TS For React in 50 Minutes
63,129 回視聴 - 11 か月前

Trump Thanks Qatar for Their Generous Jet Bribe & Accidentally Does a Socialism | The Daily Show
6,285,882 回視聴 - 4 日前
使用したサーバー: watawata37
再生方法の変更
動画のデフォルトの再生方法を設定できます。埋め込みで見れるなら埋め込みで見た方が良いですよ。
現在の再生方法: 通常
コメントを取得中...
関連動画

Create a Stopwatch in ReactJS | Frontend Interview Questions | ReactJS Important Interview Questions
81 回視聴

🌧️ Cozy Chicago City Bedroom Ambience 🎶 Relaxing Piano Jazz Music on a Rainy Night for Deep Sleep 💤
5843 人が視聴中

All The Typescript You Need to Know For React Development - Learn TS For React in 50 Minutes
6.3万 回視聴
コメントを取得中...