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

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

oschina oschina 发布于2016年07月02日 收藏 3 评论 2

有免费的MySQL,为什么还要买? >>>  

React 15.2.0 发布了。

本次发布改进日志如下:

  • Add error codes to production invariants, with links to the view the full error text. (@keyanzhang in #6948)

  • Include component stack information in PropType validation warnings. (@spicyj in #6771)

  • Include component stack information in key warnings. (@keyanzhang in #6799)

  • Stop validating props at mount time, only validate at element creation. (@keyanzhang in #6823)

  • New invariant providing actionable error in missing instance case. (@yungsters in #6990)

  • Add React.PropTypes.symbol to support ES2015 Symbols as props. (@puradox in #6377)

  • Fix incorrect coercion of ref or key that are undefined in development (@gaearon in #6880)

  • Fix a false positive when passing other element’s props to cloneElement (@ericmatthys in #6268)

React DOM

  • Add warning for unknown properties on DOM elements. (@jimfb in #6800, @gm758 in #7152)

  • Properly remove attributes from custom elements. (@grassator in #6748)

  • Fix invalid unicode escape in attribute name regular expression. (@nbjahan in #6772)

  • Add onLoad handling to <link> element. (@roderickhsiao in #6815)

  • Add onError handling to <source> element. (@wadahiro in #6941)

  • Handle value and defaultValue more accurately in the DOM. (@jimfb in #6406)

  • Fix events issue in environments with mutated Object.prototype. (@Weizenlol in #6886)

  • Fix issue where is="null" ended up in the DOM in Firefox. (@darobin in #6896)

  • Improved performance of text escaping by using escape-html. (@aickin in #6862)

  • Fix issue with dangerouslySetInnerHTML and SVG in Internet Explorer. (@joshhunt in #6982)

  • Fix issue with <textarea> placeholders. (@jimfb in #7002)

  • Fix controlled vs uncontrolled detection of <input type="radio"/>. (@jimfb in #7003)

  • Improve performance of updating text content. (@trueadm in #7005)

  • Ensure controlled <select> components behave the same on initial render as they do on updates. (@yiminghe in #5362)

React Perf Add-on

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:React 15.2.0 发布,React 和 React-dom 父版本
分享
评论(2)
最新评论
0

引用来自“玛雅牛”的评论

相关连接好像搞错了。应该连接到:http://www.oschina.net/p/facebook-react
而不是http://www.oschina.net/p/react
言之有理
0
相关连接好像搞错了。应该连接到:http://www.oschina.net/p/facebook-react
而不是http://www.oschina.net/p/react
顶部