React 16.2.0 已发布,React 是 Facebook 推出的一个为数据提供渲染为 HTML 视图,用来构建用户界面的开源 JavaScript 库。
React 视图通常采用包含以自定义 HTML 标记规定的其他组件的组件渲染。React 为程序员提供了一种子组件不能直接影响外层组件("data flows down")的模型,数据改变时对 HTML 文档的有效更新,和现代单页应用中组件之间干净的分离。
更新内容:
React[list][*]Add Fragment as named export to React. (@clemmy in #10783)
[*]Support experimental Call/Return types in React.Children utilities. (@MatteoVH in #11422)
[/list]React DOM[list][*]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)
[/list]React Test Renderer[list][*]Fix setState() callback firing too early when called from componentWillMount. (@accordeiro in #11507)
[/list]React Reconciler[list][*]Expose react-reconciler/reflection with utilities useful to custom renderers. (@rivenhk in #11683)
[/list]Internal Changes[list][*]Many tests were rewritten against the public API. Big thanks to everyone who contributed!
[/list]
下载地址:
[list][*]Source code (zip)
[*]Source code (tar.gz)
[/list]
来自:开源中国社区