1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 React v15.1.0 发布,React 和 React-dom 父版本 下载

Discussion in '软件资讯' started by 漂亮的石头, 2016-05-21.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,674
    Likes Received:
    47
    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 <object> nodes from being able to read <param> 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

    下载地址:

    React v15.1.0 发布,React 和 React-dom 父版本下载地址
     
Loading...