CONTACT US

TypeScript + React: Why I don’t use React.FC

A blog post banner reads: New article! 30 July 2020. TypeScript + React: Why I don't use React.FC with fettblog.eu in the bottom right corner.
  • You type a function, not its arguments
  • FC<> always imply children
  • Easier to move to Preact
  • React.FC<> breaks defaultProps
  • Future-proof

 

Article link copied

Close button