设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

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

2016-4-9 22:58| 发布者: joejoe0332| 查看: 435| 评论: 0|原作者: oschina|来自: oschina

摘要: React v15.0 发布了,原本的 react package 被拆分为 react 及 react-dom 两个 package。其中 react package 中包含 React.createElement、 .createClass、 .Component, .PropTypes, .Children 这些 API,而 react ...

React v15.0 发布了,原本的 react package 被拆分为 react 及 react-dom 两个 package。其中 react package 中包含 React.createElement、 .createClass、 .Component, .PropTypes, .Children 这些 API,而 react-dom package 中包含 ReactDOM.render、 .unmountComponentAtNode、 .findDOMNode。

此版本你值得关注的一些提升:

  • React now uses loose-envify instead of envify so it installs less transitive dependencies.
    @qerub in #6303

  • Shallow renderer now exposes getMountedInstance().
    @glenjamin in #4918

  • Shallow renderer now returns the rendered output from render().
    @simonewebdesign in #5411

  • React no longer depends on ES5 shams for Object.create and Object.freeze in older environments. It still, however, requires ES5 shims in those environments.
    @dgreensp in #4959

  • React DOM now allows data- attributes with names that start with numbers.
    @nLight in #5216

  • React DOM adds a new suppressContentEditableWarning prop for components like Draft.js that intentionally manage contentEditable children with React.
    @mxstbr in #6112

  • React improves the performance for createClass() on complex specs.

获取:

更多发布相关信息,可以参看这里

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部