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
I'm trying to migrate our code base from 0.12.x to 0.13.x
One of the most recurring warnings though seems a bit weird: 'Warning: getInitialState was defined on Component, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?'
This is the actual component, and it's a RequireJS module, as you can see.
The text was updated successfully, but these errors were encountered:
dmatteo
changed the title
getInitialState was defined on a plain JavaScript class, even when using React.creatClass
Warning: getInitialState was defined on a plain JavaScript class, even when using React.creatClass
Jun 24, 2015
I'm trying to migrate our code base from 0.12.x to 0.13.x
One of the most recurring warnings though seems a bit weird:
'Warning: getInitialState was defined on Component, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?'
This is the actual component, and it's a RequireJS module, as you can see.
Am I doing something wrong inadvertently?
The text was updated successfully, but these errors were encountered: