NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1245 most downloaded on npm
React is a JavaScript library for building user interfaces.
Last release 2 days ago
02 Oct 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 16 of 38 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
2742 releases · first in 2019
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Deprecated patterns that warned in 0.12 no longer work: most prominently, calling component classes without using JSX or React.createElement and using…
props after 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 mutatedstatics) are no longer autobound to the component classref resolution order has changed slightly such that a ref to a component is available immediately after its componentDidMount method is called; this change should be observable only if your component calls a parent component's callback within your componentDidMount, which is an anti-pattern and should be avoided regardlesssetState in life-cycle methods are now always batched and therefore asynchronous. Previously the first call on the first mount was synchronous.setState and forceUpdate on an unmounted component now warns instead of throwing. That avoids a possible race condition with Promises.this._pendingState and this._rootNodeID.React.findDOMNode(component), which should be used in place of component.getDOMNode(). The base class for ES6-based components will not have getDOMNode. This change will enable some more patterns moving forward.React.cloneElement(el, props) for making copies of React elements – see the v0.13 RC2 notes for more details.ref style, allowing a callback to be used in place of a name: <Photo ref={(c) => this._photo = c} /> allows you to reference the component with this._photo (as opposed to ref="photo" which gives this.refs.photo).this.setState() can now take a function as the first argument for transactional state updates, such as this.setState((state, props) => ({count: state.count + 1})); – this means that you no longer need to use this._pendingState, which is now gone.ComponentClass.type is deprecated. Just use ComponentClass (usually as element.type === ComponentClass).createClass-based components are removed or deprecated from ES6 classes (getDOMNode, replaceState, isMounted, setProps, replaceProps).React.addons.createFragment was added for adding keys to entire sets of children.React.addons.classSet is now deprecated. This functionality can be replaced with several freely available modules. classnames is one such module.React.addons.cloneWithProps can be migrated to use React.cloneElement instead – make sure to merge style and className manually if desired.class methods are no longer enumerable by default, which requires Object.defineProperty; if you support browsers such as IE8, you can pass --target es3 to mirror the old behavior--target option is available on the jsx command, allowing users to specify and ECMAScript version to target.
es5 is the default.es3 restores the previous default behavior. An additional transform is added here to ensure the use of reserved words as properties is safe (eg this.static will become this['static'] for IE8 compatibility).> or } when inside an element. Previously it would be treated as a string but now it will be treated as a parse error. The jsx_orphaned_brackets_transformer package on npm can be used to find and fix potential issues in your JSX code.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Spread operator ({...}) introduced to deprecate this.transferPropsTo
key and ref moved off props object, now accessible on the element directlyReact.__internals is removed - it was exposed for DevTools which no longer needs accessReact.createFactory first. This is handled for you when using JSX.{...}) introduced to deprecate this.transferPropsToacceptCharset, classID, manifestReact.renderComponent --> React.renderReact.renderComponentToString --> React.renderToStringReact.renderComponentToStaticMarkup --> React.renderToStaticMarkupReact.isValidComponent --> React.isValidElementReact.PropTypes.component --> React.PropTypes.elementReact.PropTypes.renderable --> React.PropTypes.nodeReact.isValidClassinstance.transferPropsTofalse from event handlers to preventDefaultReact.createFactorykey={null} to assign implicit keysevent.getModifierState as case sensitiveevent.charCodelist updates correctly nowscrollLeft, scrollTop removed, these should not be specified as propsReact.addons.batchedUpdates added to API for hooking into update cycleReact.addons.update uses assign instead of copyProperties which does hasOwnProperty checks. Properties on prototypes will no longer be updated correctly.@jsx React.DOM no longer required{...}) operator introduced to allow easier use of propsNothing published for this version
getDefaultProps() is now called once per class and shared across all instances
getDefaultProps() is now called once per class and shared across all instancesMyComponent() now returns a descriptor, not an instanceReact.isValidComponent and React.PropTypes.component validate descriptors, not component instancespropType validators should return an Error instead of logging directlynulle.key and e.getModifierState() propertiesonBeforeInput eventReact.Children.count has been added as a helper for counting the number of childrene.view properly normalizedcoords, crossOrigin, download, hrefLang, mediaGroup, muted, scrolling, shape, srcSet, start, useMap)className on a mounted SVG component now works correctlymask and tspandx, dy, fillOpacity, fontFamily, fontSize, markerEnd, markerMid, markerStart, opacity, patternContentUnits, patternUnits, preserveAspectRatio, strokeDasharray, strokeOpacityWebkit, ms, Moz, O) are now handled properlyimg event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same data-reactid"$apply command to transform valuesdist/.envify is properly listed as a dependency instead of a peer dependency<Components.Checkbox />harmony features available in the command line with <script type="text/jsx;harmony=true">--harmony option--source-map-inline option to the jsx executabletransformWithDetails API which gives access to the raw sourcemap dataNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →