React 16.2.0 已发布,React 是 Facebook 推出的一个为数据提供渲染为 HTML 视图,用来构建用户界面的开源 JavaScript 库。
React 视图通常采用包含以自定义 HTML 标记规定的其他组件的组件渲染。React 为程序员提供了一种子组件不能直接影响外层组件(”data flows down”)的模型,数据改变时对 HTML 文档的有效更新,和现代单页应用中组件之间干净的分离。
更新内容:
React
- Add
Fragment
as named export to React. (@clemmy in #10783) - Support experimental Call/Return types in
React.Children
utilities. (@MatteoVH in #11422)
React DOM
- Fix radio buttons not getting checked when using multiple lists of radios. (@landvibe in #11227)
- Fix radio buttons not receiving the
onChange
event in some cases. (@jquense in #11028)
React Test Renderer
- Fix
setState()
callback firing too early when called fromcomponentWillMount
. (@accordeiro in #11507)
React Reconciler
Internal Changes
- Many tests were rewritten against the public API. Big thanks to everyone who contributed!
下载地址:
转自 http://www.oschina.net/news/93040/react-16-2-0