Accessing PropTypes via the main React package is deprecated. Use the prop types package from npm instead 最新版的Reactjs(15.5. ) 会报错,大家是怎么处理的? From LBRC