Create Highly Reusable React Components in Minutes with TypeScript
Josh tried coding
0:00 / 0:00
Create Highly Reusable React Components in Minutes with TypeScript
44 782 просмотра · 3 года назад
Josh tried coding
174 тыс. подписчиков
44 782 просмотра · 3 года назад
Let's look into a best practice for creating highly reusable React components. We'll use TypeScript for that, but JavaScript works just fine too. You'll learn a really helpful trick to get type completion on your component, saving you lots of maintenance and headache in the long run. Also, we'll conditionally display tailwind classes with a convenient utility function! :)
⭐ Our startup: https://wordful.ai
⭐ My GitHub: https://github.com/joschan21
0:00 - Intro
0:18 - The Problem
3:27 - The Solution
10:26 - Outro
The stuff I use to make my videos
Camera: https://amzn.to/3XcqRKO
Light: https://amzn.to/3Xc1yIE
Keyboard: https://amzn.to/3CKxnAi
Mouse: https://amzn.to/3CNcfcm
Microphone: https://amzn.to/3iybVHC
Headphones: https://amzn.to/3IHTTgH
thats pretty much it. Those are affiliate links so I might earn a commission if you purchase after clicking them. :^)