Loading video...

Video Failed to Load

Go Home

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

59,762 views • 2 years ago •via X (Twitter)

10 Comments

George Moller's profile picture
George Moller2 years ago

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's profile picture
Žilvinas2 years ago

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🥷🏻's profile picture
🪖Retro Tech🥷🏻2 years ago

So curious, what video editor is this?

skai's profile picture
skai2 years ago

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

Mahmood Tareq's profile picture
Mahmood Tareq2 years ago

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

Jakub Jetleb's profile picture
Jakub Jetleb2 years ago

Making literary same thing rn

Michael Soriano's profile picture
Michael Soriano2 years ago

This is slick

Erick's profile picture
Erick2 years ago

Button as span, button as body

Name cannot be blank's profile picture
Name cannot be blank2 years ago

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

among us's profile picture
among us2 years ago

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

Related Videos