为社区建设略尽绵薄之力!参与 2021 社区问卷调查!

React v0.13.3

May 08, 2015 by Paul O’Shannessy

Today we’re sharing another patch release in the v0.13 branch. There are only a few small changes, with a couple to address some issues that arose around that undocumented feature so many of you are already using: context. We also improved developer ergonomics just a little bit, making some warnings better.

The release is now available for download:

We’ve also published version 0.13.3 of the react and react-tools packages on npm and the react package on bower.


Changelog

React Core

New Features

  • Added clipPath element and attribute for SVG
  • Improved warnings for deprecated methods in plain JS classes

Bug Fixes

  • Loosened dangerouslySetInnerHTML restrictions so {__html: undefined} will no longer throw
  • Fixed extraneous context warning with non-pure getChildContext
  • Ensure replaceState(obj) retains prototype of obj

React with Add-ons

Bug Fixes

  • Test Utils: Ensure that shallow rendering works when components define contextTypes
Is this page useful?编辑此页面