React v15.1.0 发布了,原本的 react package 被拆分为 react 及 react-dom 两个 package。其中 react package 中包含 React.createElement、 .createClass、 .Component, .PropTypes, .Children 这些 API,而 react-dom package 中包含 ReactDOM.render、 .unmountComponentAtNode、 .findDOMNode。
主要更新内容如下:
React
Ensure we're using the latest object-assign, which has protection against a non-spec-compliant native Object.assign. (@zpao in #6681)
Add a new warning to communicate that props objects passed to createElement must be plain objects. (@richardscarrott in #6134)
Fix a batching bug resulting in some lifecycle methods incorrectly being called multiple times. (@spicyj in #6650)
React DOM
Fix regression in custom elements support. (@jscissr in #6570)
Stop incorrectly warning about using onScroll event handler with server rendering. (@Aweary in#6678)
Fix grammar in the controlled input warning. (@jakeboone02 in #6657)
Fix issue preventing

