state-types-react
Allows for validating state in the same way as you would
with propTypes
or contextTypes
.
Use:
Require this module before React, at the top of your application.
// Require at the very top level.; // ... rest of your code here var Component = React;
License
MIT