代码:
var React = require('react'); React.render(<div>test</div>, document.getElementById('box') );
怎么会报Warning: React.render is deprecated. Please use ReactDOM.render from require('react-dom') instead.
慕田峪4524236
相关分类