发布于 2016-04-07 23:49:44 | 217 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的React.JS教程,程序狗速度看过来!

ReactJS 构建用户界面的 JavaScript 库

React.js 是 Facebook 推出的一个用来构建用户界面的 JavaScript 库。


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.

获取:

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



历史版本 :
React 组件库 uiw 1.5.1 发布,新增 2 个组件
React 16.2.0 发布,构建用户界面的 JavaScript 库
React 16.1.1 发布,构建用户界面的 JavaScript 库
React 16.1.0 发布,开源的 JavaScript 库
React 16.1.0-beta 发布,开源的 JavaScript 库
React 16.0.0 发布,去除专利条款,改用 MIT 许可证
React 16.0.0-beta.1 发布,Facebook 开源的 JavaScript 库
React 15.6.0 发布,构建用户界面的 JavaScript 库
React 15.5.4 发布,JavaScript 库
React 15.5.0 正式版发布,JavaScript 库
React 15.4.0 正式版发布,JavaScript 库
React v15.4.0-rc.3 发布,JavaScript 库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务