We usually use the PropTypes library ( React.PropTypes
moved to the prop-types
package as of React v15.5) for type checking in React applications. For large codebases it is recommended to use static type checkers, such as Flow or TypeScript, which check types at compile time and provide autocompletion features.
Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"
Comments