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
{{ message }}
This repository has been archived by the owner on Nov 4, 2018. It is now read-only.
报错:
react.js:18354 Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs.
警告:(下面的警告出现多次)
react.js:18798 Warning: getDefaultProps is only used on classic React.createClass definitions. Use a static property named defaultProps instead
react.js:18798 Warning: getInitialState was defined on Dropdown, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?
使用webpack import 的方式,不会报错和警告
The text was updated successfully, but these errors were encountered:
报错:
react.js:18354 Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs.
警告:(下面的警告出现多次)
react.js:18798 Warning: getDefaultProps is only used on classic React.createClass definitions. Use a static property named
defaultProps
insteadreact.js:18798 Warning: getInitialState was defined on Dropdown, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?
使用webpack import 的方式,不会报错和警告
The text was updated successfully, but these errors were encountered: