the createReactClass method from the create-react-class package
var createReactClass = require('create-react-class'); var Greeting = createReactClass({ render: function() { return <h1>Hello, {this.props.name}</h1>; } });
Details https://reactjs.org/docs/react-without-es6.html
Use checkPropTypes instead of calling PropTypes directly