buildo / react-components

Collection of general React components used in buildo projects.
http://react-components.buildo.io/
MIT License
157 stars 21 forks source link

proposal: remove runtime prop types checking #1360

Closed giogonzo closed 4 years ago

giogonzo commented 5 years ago

With all of our project now using TypeScript, and TS being quite adopted in the React community in general, we could remove prop types via tcomb props in order to:

  1. spare some code and a runtime dependency
  2. avoid cases where the two typings (runtime and static) differ in a subtle way

This should be done on a few other separate repos I think, such as react-flexview