React 15.3.0 发布,React 和 React-dom 父版本 - 开源中国社区
React 15.3.0 发布,React 和 React-dom 父版本
oschina 2016年07月30日

React 15.3.0 发布,React 和 React-dom 父版本

oschina oschina 发布于2016年07月30日 收藏 4

腾讯云 十分钟定制你的第一个小程序>>>  

React 15.3.0 发布了。

改进日志如下:

React

  • Add React.PureComponent - a new base class to extend, replacing react-addons-pure-render-mixin now that mixins don't work with ES2015 classes. (@spicyj in #7195)

  • Add new warning when modifying this.props.children. (@jimfb in #7001)

  • Fixed issue with ref resolution order. (@gaearon in #7101)

  • Warn when mixin is undefined. (@swaroopsm in #6158)

  • Downgrade "unexpected batch number" invariant to a warning. (@spicyj in #7133)

  • Validate arguments to oneOf and oneOfType PropTypes sooner. (@troydemonbreun in #6316)

  • Warn when calling PropTypes directly. (@Aweary in #7132, #7194)

  • Improve warning when using Maps as children. (@keyanzhang in #7260)

  • Add additional type information to the PropTypes.element warning. (@alexzherdev in #7319)

  • Improve component identification in no-op setState warning. (@keyanzhang in #7326)

React DOM

  • Fix issue with nested server rendering. (@Aweary in #7033)

  • Add xmlns, xmlnsXlink to supported SVG attributes. (@salzhrani in #6471)

  • Add referrerPolicy to supported HTML attributes. (@Aweary in #7274)

  • Fix issue resulting in <input type="range"> initial value being rounded. (@troydemonbreun in #7251)

React Test Renderer

React Perf Add-on

  • Fix issue resulting in excessive warnings when encountering an internal measurement error. (@sassanh in #7299)

React TestUtils Add-on

  • Implement type property on for events created via TestUtils.Simulate.*. (@yaycmyk in #6154)

  • Fix crash when running TestUtils with the production build of React. (@gaearon in #7246)

下载地址:https://facebook.github.io/react/downloads.html

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:React 15.3.0 发布,React 和 React-dom 父版本
分享
评论(4)
最新评论
0
react貌似发展很快啊,一段时间没看,又变化了不少
0
react 挺好用的。不打算换了。
0
更新挺快
0
准备学vue
顶部