React 0.13.2 发布,构建用户界面的 JavaScript 库

likeo 9年前

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

非死book开源了React,这是该公司用于构建反应式图形界面的JavaScript库,已经应用于构建Instagram网站及 非死book部分网站。最近出现了AngularJS、MeteorJS 和Polymer中实现的Model-Driven Views等框架,React也顺应了这种趋势。React基于在数据模型之上声明式指定用户界面的理念,用户界面会自动与底层数据保持同步。与前面提及 的框架不同,出于灵活性考虑,React使用JavaScript来构建用户界面,没有选择HTML。

React 0.13.2 发布,此版本主要有以下更新:

新特性:

  • Added strokeDashoffset, flexPositive, flexNegative to the list of unitless CSS properties

  • Added support for more DOM properties:
      scoped - for <style> elements
      high, low, optimum - for <meter> elements
      unselectable - IE-specific property to prevent user selection

错误修复:

  • Fixed a case where re-rendering after rendering null didn't properly pass context

  • Fixed a case where re-rendering after rendering with style={null} didn't properly update style

  • Update uglify dependency to prevent a bug in IE8

  • Improved warnings

详细信息请查看发行说明

此版本现已提供下载

https://github.com/非死book/react/releases/download/v0.13.2/react-0.13.2.zip


来自:http://www.oschina.net/news/61709/react-0-13-2-released