正在加载视频...

视频加载失败

⚛️ One component, many forms: the power of polymorphic React components ↓

59,762 次观看 • 2 年前 •via X (Twitter)

10 条评论

George Moller 的头像
George Moller2 年前

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics and 80+ video tutorials just like this one. Check them out ↓

Žilvinas 的头像
Žilvinas2 年前

What do you think of Radix’s slot pattern? I find it more pleasant to use than ‘as’ prop, e.g. when I want to render Button as next/link component. The props get separated between the components rather than mixed on a single component

🪖Retro Tech🥷🏻 的头像
🪖Retro Tech🥷🏻2 年前

So curious, what video editor is this?

skai 的头像
skai2 年前

Great infomatic! May I know what software you used to create it?

Mahmood Tareq 的头像
Mahmood Tareq2 年前

Thanks for displaying in typescript as well. Good work, George. Thank you.

Jakub Jetleb 的头像
Jakub Jetleb2 年前

Making literary same thing rn

Michael Soriano 的头像
Michael Soriano2 年前

This is slick

Erick 的头像
Erick2 年前

Button as span, button as body

Name cannot be blank 的头像
Name cannot be blank2 年前

why not just use span and div, seems pointless someone please enlighten me

among us 的头像
among us2 年前

whats the point? you should use semantic elements for their appriopriate use to keep your website accessible

相关视频