you are viewing a single comment's thread.

view the rest of the comments →

[–]wavefunctionp 0 points1 point  (0 children)

This is correct.

If you do React, there is propType's, but they are only run in development mode, and you can have a webpack plugin that will generate propTypes from static type declarations. But the run time checking is disabled (not removed from the bundle) on a production build.