红联Linux门户
Linux帮助

React v15.1.0发布,React和React-dom父版本

发布时间:2016-05-21 09:32:22来源:红联作者:baihuo
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 nodes from being able to read nodes in IE. (@syranide in#6691)

Fix issue resulting in crash when using experimental error boundaries with server rendering. (@jimfbin #6694)

Add additional information to the controlled input warning. (@borisyankov in #6341)

React Perf Add-on

Completely rewritten to collect data more accurately and to be easier to maintain. (@gaearon in#6647, #6046)

React Native Renderer

Remove some special cases for platform specific branching. (@sebmarkbage in #6660)

Remove use of merge utility. (@sebmarkbage in #6634)

Renamed some modules to better indicate usage (@javache in #6643)

软件详情:https://github.com/facebook/react/

下载地址:https://github.com/facebook/react/archive/v15.1.0.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论