You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be cool to do full runtime validation like React does (it uses invariant). PropTypes is one of the most valuable things available from React. As cool as static type checking is, runtime checking will always be more powerful (and works for anyone regardless of whether they're using a type checker or not).
I created api-check to do this for one of my libraries and it really reduced the number of beginner issues I received. Everyone was happier.
Definitely would want to have the ability to exclude this runtime checking in the production code.