React.js TypeScript Conditional Props - Props that depend on other Props
Video Statistics and Information
Channel: Bruno Antunes
Views: 12,138
Rating: undefined out of 5
Keywords: react, react typescript conditional props, react conditional props, react typescript props that depend on another props, typescript props that depend on other, react typescript, react.js typescript, react js typescript, prop that should only be set when another prop has a specified value, react typescript conditional properties
Id: vXh4PFwZFGI
Channel Id: undefined
Length: 26min 14sec (1574 seconds)
Published: Tue Mar 30 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Cool thank you, didnt know these tricks!
Awesome to see things I didnt even dream were possible with Typescript
This is what I looking for so far! Thank you!
This is awesome. Super simple extension of commonly used concepts in TS. Great explanation as well.
April fools?
Is this also how other libraries/frameworks solve this? Such as Next.js etc.
Very difficult when one of the conditional types is actually undefined
This is great stuff man! I use this quite often for the basic components in projects. Tuples is cool too!
What a great video! Thank you!