
Linuxeden 开源社区 --
React 16.1.0 发布了,React(有时叫 React.js 或 ReactJS)是 Facebook 推出的一个为数据提供渲染为 HTML 视图,用来构建用户界面的开源 JavaScript 库。
React 视图通常采用包含以自定义 HTML 标记规定的其他组件的组件渲染。React 为程序员提供了一种子组件不能直接影响外层组件(”data flows down”)的模型,数据改变时对 HTML 文档的有效更新,和现代单页应用中组件之间干净的分离。
从 16.1.0 开始,将不再在 Bower 上发布新的版本。 您可以继续使用 Bower 旧版本,或者将 Bower 配置更新至 unkg 上托管的 React UMD 版本,该版本的镜像 npm 版本将继续更新。
此版本更新内容:
All Packages
React
- Add support for portals in
React.Childrenutilities. (@MatteoVH in #11378) - Warn when a class has a
rendermethod but doesn’t extend a known base class. (@sw-yx in #11168) - Improve the warning when accidentally returning an object from constructor. (@deanbrophy in #11395)
React DOM
- Allow
onas a custom attribute for AMP. (@nuc in #11153) - Fix
onMouseEnterandonMouseLeavefiring on wrong elements. (@gaearon in #11164) - Fix
nullshowing up in a warning instead of the component stack. (@gaearon in #10915)
完整更新内容请查看 更新日志 。
下载地址:
转自 http://ift.tt/2hgQDLx
The post React 16.1.0 发布,开源的 JavaScript 库 appeared first on Linuxeden开源社区.
http://ift.tt/2zwq7YY
没有评论:
发表评论