DEV Community

loading...

Discussion on: Top three React & TypeScript pitfalls

Collapse
0916dhkim profile image
Donghyeon Kim

I did not know about React.ComponentProps type. Thanks! And yes, dealing with children prop is difficult, especially when it is defined inside a third-party library.