Create Highly Reusable React Components in Minutes with TypeScript @joshtriedcoding
Create Highly Reusable React Components in Minutes with TypeScript  @joshtriedcoding
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. :^)
Create Highly Reusable React Components in Minutes with TypeScriptHow to NOT Poison Your React Server ComponentsMaster NextJS Error Handling in 10 MinutesAdding Custom Headers in tRPC is Super Easy and Useful!Adobes UI Library is Finally OutBuild a Complete Real-Time Chat with Next.js 16, Redis, Tailwind (2025)Why You Never Finish Your Side ProjectsDatabase Speed Showdown: SQL, NoSQL vs. PostgreSQL Performance ComparisonNextJS 13 UI Game Changer: The Library for Faster, Better DevelopmentHow To Stop Writing Horrible React ComponentsMy Favorite New Features in Bun 1.0Building a Great UI is Easy with this React Library
Josh tried coding |

Create Highly Reusable React Components in Minutes with TypeScript

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER