Why do you need PropTypes when coding with TypeScript? I would rather use React.FC and benefit from type-checking and autocomplete than not using it for the sake of PropTypes.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why do you need
PropTypes
when coding with TypeScript? I would rather useReact.FC
and benefit from type-checking and autocomplete than not using it for the sake ofPropTypes
.