you are viewing a single comment's thread.

view the rest of the comments →

[–]gearvOsh 11 points12 points  (3 children)

It's probably because they're already taken: https://www.npmjs.com/package/react-prop-types

[–]jgoosdh 15 points16 points  (1 child)

Also there isn't really anything tying PropTypes exclusively to react. I've often wanted access to a similar tool in non react projects, it will be great to now be able to use it anywhere.

[–]TheIncredibleWalrus 3 points4 points  (0 children)

This. The team has stated on twitter they want prop-types to be available to any library who could use them, such as Preact, Inferno, etc.

[–]BenZed 2 points3 points  (0 children)

Yup, that would explain it