Open benmccann opened 3 weeks ago
It's wasteful to do prop type checking at runtime and pull in an unnecessary library
https://stackoverflow.com/questions/73954484/should-i-use-the-package-prop-types-or-pass-a-props-interface-to-react-component
If you're using TypeScript, then make sure prop-types is not used in a project
No response
Describe the problem
It's wasteful to do prop type checking at runtime and pull in an unnecessary library
https://stackoverflow.com/questions/73954484/should-i-use-the-package-prop-types-or-pass-a-props-interface-to-react-component
Describe the solution you'd like
If you're using TypeScript, then make sure prop-types is not used in a project
Alternatives considered
No response
Additional context
No response