create-react-app中使用React-createClas会报如下warning,只能使用extends React.Component.使用ant design时会报propTypes的warning,报错如下图求助大神
react新版将废弃createClass,propType将会分到一个新的模块
548k questions
547k answers
4 comments
86.3k users