Loading video...
Video Failed to Load
⚛️ One component, many forms: the power of polymorphic React components ↓
59,703 views • 1 year ago •via X (Twitter)
10 Comments

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 ↓

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

So curious, what video editor is this?

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

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

Making literary same thing rn

This is slick

Button as span, button as body

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

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