DEV Community

Discussion on: React PropTypes vs Typescript! Any experience?

Collapse
elugens profile image
Stacey Wilson

It should be pointed out that there is a babel plugin that converts typescript to proptypes if you are concerned about type checking in a run time environment. I would suggest using typescript which can be challenging at first in React, but you can do it. npmjs.com/package/babel-plugin-typ...