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
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');
The text was updated successfully, but these errors were encountered:
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');
The text was updated successfully, but these errors were encountered: