react
19.3.1 · 14 Oct 2026MIT275.7M / weekRepositoryHomepagenpmAtom feed
Upgrading react From 0.9.0 to 0.14.0
12 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.12.0
- Breaking0.12.0
Security
Fixes 1 advisory affecting 0.9.0
- Cross-Site Scripting in reacthigh · GHSA-hg79-j56m-fxgv
Release by release
0.14.0nothing new or fixed in the note
- New
Added
clipPathelement and attribute for SVG - New
Improved warnings for deprecated methods in plain JS classes
- Fixed
Loosened
dangerouslySetInnerHTMLrestrictions so{__html: undefined}will no longer throw - Fixed
Fixed extraneous context warning with non-pure
getChildContext - Fixed
Ensure
replaceState(obj)retains prototype ofobj - Fixed
Test Utils: Ensure that shallow rendering works when components define
contextTypes
- New
- New
Added
strokeDashoffset,flexPositive,flexNegativeto the list of unitless CSS properties - New
scoped- for<style>elements - New
high,low,optimum- for<meter>elements - New
unselectable- IE-specific property to prevent user selection
- New
- New
Stop double-counting DOM components
- Fixed
Don't throw when rendering empty
<select>elements - Fixed
Ensure updating
styleworks when transitioning fromnull - Fixed
TestUtils: Don't warn about
getDOMNodefor ES6 classes - Fixed
TestUtils: Ensure wrapped full page components (
<html>,<head>,<body>) are treated as DOM components - Fixed
Fix option parsing for
--non-strict-es6module
- New
- Breaking
Mutating
propsafter an element is created is deprecated and will cause warnings in development mode; future versions of React will incorporate performance optimizations assuming that props aren't mutated - Breaking
Static methods (defined in
statics) are no longer autobound to the component class - Breaking
refresolution order has changed slightly such that a ref to a component is available immediately after itscomponentDidMountmethod is called; this change should be observable only if your component calls a parent component's callback within yourcomponentDidMount, which is an anti-pattern and should be avoided regardless - Breaking
Calls to
setStatein life-cycle methods are now always batched and therefore asynchronous. Previously the first call on the first mount was synchronous.
- Breaking
- New
Added support for more HTML attributes:
formAction,formEncType,formMethod,formTarget,marginHeight,marginWidth - New
Added
strokeOpacityto the list of unitless CSS properties - Fixed
Fixed bug resulting in error when passing
undefinedtoReact.createElement- now there is a useful warning
- New
0.12.1nothing new or fixed in the note
- Breaking
keyandrefmoved off props object, now accessible on the element directly - Breaking
React is now BSD licensed with accompanying Patents grant
- Breaking
Default prop resolution has moved to Element creation time instead of mount time, making them effectively static
- Breaking
React.__internalsis removed - it was exposed for DevTools which no longer needs access
- Breaking
17 other lines we could not sort, mostly version bumps
- 0.13.2
Improve documentation for new options
- 0.12.2
Removed trailing commas (allows npm module to be bundled and used in IE8)
- 0.12.2
JSX-related transforms now always use double quotes for props and
displayName - 0.12.1
Types transform updated with latest support
- 0.12.1
Jstransform version updated with improved ES6 transforms
- 0.12.1
Explicit Esprima dependency removed in favor of using Esprima information exported by jstransform
- 0.11.2
<picture>is now parsed intoReact.DOM.picture - 0.11.2
Update
esprimaandjstransformfor correctness fixes - 0.11.2
The
jsxexecutable now exposes a--strip-typesflag which can be used to remove TypeScript-like type annotations - 0.11.0
PureRenderMixin: A mixin which helps optimize "pure" components
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.