DEV Community

Discussion on: Top three React & TypeScript pitfalls

Collapse
rodelta profile image
Ro De la Rivera

To replace FC<> you need to also type the response type of the function and that involves more (and repeated) code.