Closed
Description
After upgrading from 2.3.1 to 2.4.0 my react components don't work anymore. In the console I get the following error:
TypeError: React.PropTypes is undefined
I've already seen that React.PropTypes has been deprecated and is now in its own module (prop-types), but downloading prop-types.min.js and including it before including react_ujs did not solve the problem. I guess the following statement needs to be added now:
var PropTypes = require('prop-types');