Uploaded February 2023 | Updated December 2026, 48 minutes ago
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: wordful.ai
⭐ My GitHub: 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: amzn.to/3XcqRKO
Light: amzn.to/3Xc1yIE
Keyboard: amzn.to/3CKxnAi
Mouse: amzn.to/3CNcfcm
Microphone: amzn.to/3iybVHC
Headphones: amzn.to/3IHTTgH
thats pretty much it. Those are affiliate links so I might earn a commission if you purchase after clicking them. :^)
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: wordful.ai
⭐ My GitHub: 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: amzn.to/3XcqRKO
Light: amzn.to/3Xc1yIE
Keyboard: amzn.to/3CKxnAi
Mouse: amzn.to/3CNcfcm
Microphone: amzn.to/3iybVHC
Headphones: amzn.to/3IHTTgH
thats pretty much it. Those are affiliate links so I might earn a commission if you purchase after clicking them. :^)




![Build a Complete Real-Time Chat with Next.js 16, Redis, Tailwind (2025)
lets build a complete real-time chat with the newest nextjs 16, redis, tailwind, typescript and elysia :]
links
code: https://github.com/joschan21/nextjs16_realtime_chat
twitter: https://x.com/joshtriedcoding
github: https://github.com/joschan21 Build a Complete Real-Time Chat with Next.js 16, Redis, Tailwind (2025)](https://i.ytimg.com/vi/D8CLV-MRH0k/mqdefault.jpg)





