Update Jun 8, 2026 tracked by Updatify
0.14.5 (December 29, 2015)
React
- More minor internal changes for better compatibility with React Native
Free, open-source JavaScript library maintained by Meta (Facebook) and a community of developers
Update Jun 8, 2026 tracked by Updatify
Update Jun 8, 2026 tracked by Updatify
autoCapitalize and autoCorrect props are now set as attributes in the DOM instead of properties to improve cross-browser compatibility <select> elements not handling updates properly .printDOM() Update Jun 8, 2026 tracked by Updatify
nonce attribute for <script> and <style> elements reversed attribute for <ol> elements react-dom-server.js to expose renderToString and renderToStaticMarkup for usage in the browser Update Jun 8, 2026 tracked by Updatify
integrity attribute children prop being coerced to a string for custom elements, which was not the desired behavior react from dependencies to peerDependencies to match expectations and align with react-addons-* packages Update Jun 8, 2026 tracked by Updatify
dangerouslySetInnerHTML with Closure Compiler Advanced mode srcLang, default, and kind attributes for <track> elements color attribute .props access on DOM nodes is updated on re-renders scryRenderedDOMComponentsWithClass so it works with SVG 0 to be used as a timeout value react-dom.js to main to improve compatibility with tooling Update Jun 8, 2026 tracked by Updatify
react package into two: react and react-dom. This paves the way to writing components that can be shared between the web version of React and React Native. This means you will need to include both files and some functions have been moved from React to ReactDOM. react-addons-clone-with-props, react-addons-create-fragment, react-addons-css-transition-group, react-addons-linked-state-mixin, react-addons-perf, react-addons-pure-render-mixin, react-addons-shallow-compare, react-addons-test-utils, react-addons-transition-group, react-addons-update, ReactDOM.unstable_batchedUpdates). props) which returns a JSX element, and this function may be used as a component. getDOMNode() to get the underlying DOM node. Starting with this release, a ref to a DOM component is the actual DOM node. Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change. React.initializeTouchEvents is no longer necessary and has been removed completely. Touch events now work automatically. TestUtils.findAllInRenderedTree and related helpers are no longer able to take a DOM component, only a custom component. props object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, React.cloneElement should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above. createFragment helper to migrate, which now returns an array. classSet has been removed. Use classnames instead. class instead of className. this.getDOMNode() is now deprecated and ReactDOM.findDOMNode(this) can be used instead. Note that in the common case, findDOMNode is now unnecessary since a ref to the DOM component is now the actual DOM node. setProps and replaceProps are now deprecated. Instead, call ReactDOM.render again at the top level with the new props. React.Component in order to enable stateless function components. The ES3 module pattern will continue to work. style object between renders has been deprecated. This mirrors our change to freeze the props object. cloneWithProps is now deprecated. Use React.cloneElement instead (unlike cloneWithProps, cloneElement does not merge className or style automatically; you can merge them manually if needed). CSSTransitionGroup will no longer listen to transition events. Instead, you should specify transition durations manually using props such as transitionEnterTimeout={500}. React.Children.toArray which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in your render methods, especially if you want to reorder or slice this.props.children before passing it down. In addition, React.Children.map now returns plain arrays too. console.error instead of console.warn for warnings so that browsers show a full stack trace in the console. (Our warnings appear when you use patterns that will break in future releases and for code that is likely to behave unexpectedly, so we do consider our warnings to be “must-fix” errors.) Symbol in browsers that support it, in order to ensure that React never considers untrusted JSON to be a valid element. If this extra security protection is important to you, you should add a Symbol polyfill for older browsers, such as the one included by Babel’s polyfill. capture, challenge, inputMode, is, keyParams, keyType, minLength, summary, wrap. It also now supports these non-standard attributes: autoSave, results, security. xlinkActuate, xlinkArcrole, xlinkHref, xlinkRole, xlinkShow, xlinkTitle, xlinkType, xmlBase, xmlLang, xmlSpace. image SVG tag is now supported by React DOM. is="..." attribute). audio and video tags: onAbort, onCanPlay, onCanPlayThrough, onDurationChange, onEmptied, onEncrypted, onEnded, onError, onLoadedData, onLoadedMetadata, onLoadStart, onPause, onPlay, onPlaying, onProgress, onRateChange, onSeeked, onSeeking, onStalled, onSuspend, onTimeUpdate, onVolumeChange, onWaiting. shallowCompare add-on has been added as a migration path for PureRenderMixin in ES6 classes. CSSTransitionGroup can now use custom class names instead of appending -enter-active or similar to the transition name. document.body directly as the container to ReactDOM.render now gives a warning as doing so can cause problems with browser extensions that modify the DOM. <option> elements with multiple text children properly and renders <select> elements on the server with the correct option selected. React.createElement('DIV')) no longer causes problems, though we continue to recommend lowercase for consistency with the JSX tag name convention (lowercase names refer to built-in components, capitalized names refer to custom components). animationIterationCount, boxOrdinalGroup, flexOrder, tabSize, stopOpacity. Simulate.mouseEnter and Simulate.mouseLeave now work. react-tools package and JSXTransformer.js browser file have been deprecated. You can continue using version 0.13.3 of both, but we no longer support them and recommend migrating to Babel, which has built-in support for React and JSX. optimisation.react.inlineElements transform converts JSX elements to object literals like {type: 'div', props: ...} instead of calls to React.createElement. This should only be enabled in production, since it disables some development warnings/checks. optimisation.react.constantElements transform hoists element creation to the top level for subtrees that are fully static, which reduces calls to React.createElement and the resulting allocations. More importantly, it tells React that the subtree hasn’t changed so React can completely skip it when reconciling. This should only be enabled in production, since it disables some development warnings/checks. Update Jun 8, 2026 tracked by Updatify
clipPath element and attribute for SVG dangerouslySetInnerHTML restrictions so {__html: undefined} will no longer throw getChildContext replaceState(obj) retains prototype of obj contextTypes Update Jun 8, 2026 tracked by Updatify
strokeDashoffset, flexPositive, flexNegative to the list of unitless CSS properties scoped - for <style> elements high, low, optimum - for <meter> elements unselectable - IE-specific property to prevent user selection style={null} didn’t properly update style uglify dependency to prevent a bug in IE8 hasOwnProperty as an object key Update Jun 8, 2026 tracked by Updatify
<select> elements style works when transitioning from null getDOMNode for ES6 classes <html>, <head>, <body>) are treated as DOM components --non-strict-es6module Update Jun 8, 2026 tracked by Updatify
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 mutated statics) are no longer autobound to the component class ref 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 regardless setState 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). transform now contains sourceMap as a JS object already, not an instance of SourceMapGenerator. > 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. Update Jun 8, 2026 tracked by Updatify
formAction, formEncType, formMethod, formTarget, marginHeight, marginWidth strokeOpacity to the list of unitless CSS properties undefined to React.createElement - now there is a useful warning displayName Update Jun 8, 2026 tracked by Updatify
Update Jun 8, 2026 tracked by Updatify
key and ref moved off props object, now accessible on the element directly React.__internals is removed - it was exposed for DevTools which no longer needs access React.createFactory first. This is handled for you when using JSX. {...}) introduced to deprecate this.transferPropsTo acceptCharset, classID, manifest React.renderComponent –> React.render React.renderComponentToString –> React.renderToString React.renderComponentToStaticMarkup –> React.renderToStaticMarkup React.isValidComponent –> React.isValidElement React.PropTypes.component –> React.PropTypes.element React.PropTypes.renderable –> React.PropTypes.node React.isValidClass instance.transferPropsTo false from event handlers to preventDefault React.createFactory key={null} to assign implicit keys event.getModifierState as case sensitive event.charCode list updates correctly now scrollLeft, scrollTop removed, these should not be specified as props React.addons.batchedUpdates added to API for hooking into update cycle React.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 props Update Jun 8, 2026 tracked by Updatify
<dialog> element and associated open attribute <picture> element and associated media and sizes attributes React.createElement API in preparation for React v0.12 React.createDescriptor has been deprecated as a result <picture> is now parsed into React.DOM.picture esprima and jstransform for correctness fixes jsx executable now exposes a --strip-types flag which can be used to remove TypeScript-like type annotations require('react-tools').transform as stripTypes Update Jun 8, 2026 tracked by Updatify
setState can be called inside componentWillMount in non-DOM environments SyntheticMouseEvent.getEventModifierState correctly renamed to getModifierState getModifierState correctly returns a boolean getModifierState is now correctly case sensitive innerHTML workaround is now removed, fixing rerendering in certain cases Update Jun 8, 2026 tracked by Updatify
getDefaultProps() is now called once per class and shared across all instances MyComponent() now returns a descriptor, not an instance React.isValidComponent and React.PropTypes.component validate descriptors, not component instances propType validators should return an Error instead of logging directly null e.key and e.getModifierState() properties onBeforeInput event React.Children.count has been added as a helper for counting the number of children e.view properly normalized coords, crossOrigin, download, hrefLang, mediaGroup, muted, scrolling, shape, srcSet, start, useMap) className on a mounted SVG component now works correctly mask and tspan dx, dy, fillOpacity, fontFamily, fontSize, markerEnd, markerMid, markerStart, opacity, patternContentUnits, patternUnits, preserveAspectRatio, strokeDasharray, strokeOpacity Webkit, ms, Moz, O) are now handled properly img event listeners are now unbound properly, preventing the error “Two valid but unequal nodes with the same data-reactid“ $apply command to transform values dist/. 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 executable transformWithDetails API which gives access to the raw sourcemap data Update Jun 8, 2026 tracked by Updatify
data-reactid, data-react-checksum). This DOM will not be mountable by React. Read the docs for React.renderComponentToStaticMarkup srcSet for <img> to specify images at different pixel ratios textAnchor for SVG className={false} behaves consistently this.refs is defined, even if no refs are specified. update function to deal with immutable data. Read the docs transform function. The only option supported is harmony, which behaves the same as jsx --harmony on the command line. This uses the ES6 transforms from jstransform. Update Jun 8, 2026 tracked by Updatify
componentDidMount and componentDidUpdate no longer receive the root node as a parameter; use this.getDOMNode() instead undefined, the default value returned by getDefaultProps will now be used instead React.unmountAndReleaseReactRootNode was previously deprecated and has now been removed React.renderComponentToString is now synchronous and returns the generated HTML string <html> tag using React) is now supported only when starting with server-rendered markup deltaY is no longer negated input, select, and textarea elements, .getValue() is no longer supported; use .getDOMNode().value instead this.context on components is now reserved for internal use by React defs, linearGradient, polygon, radialGradient, stop crossOrigin for CORS requests download and hrefLang for <a> tags mediaGroup and muted for <audio> and <video> tags noValidate and formNoValidate for forms property for Open Graph <meta> tags sandbox, seamless, and srcDoc for <iframe> tags scope for screen readers span for <colgroup> tags propTypes in mixins any, arrayOf, component, oneOfType, renderable, shape to React.PropTypes statics on component spec for static component methods .currentTarget is now properly set .key is now polyfilled in all browsers for special (non-printable) keys .clipboardData is now polyfilled in IE .dragTransfer is now present onMouseOver and onMouseOut in addition to the existing onMouseEnter and onMouseLeave events onLoad and onError on <img> elements onReset on <form> elements autoFocus attribute is now polyfilled consistently on input, select, and textarea __owner__ property to each component’s props object; passed-in props are now never mutated React.renderComponent within componentDidMount), events now properly bubble to the parent component .target, .relatedTarget, and .type are now set properly .data is now properly normalized in IE9 and IE10 px appended for the unitless properties columnCount, flex, flexGrow, flexShrink, lineClamp, order, widows componentWillUnmount handler renderComponentToString would store event handlers disabled are rendered without a value (previously disabled="true", now simply disabled) key values containing . are now supported data-reactid values for performance key property changes document only when necessary, improving performance in some cases .returnValue in modern browsers, eliminating a warning in Chrome scrollLeft and scrollTop are no longer accessed on document.body, eliminating a warning in Chrome React.addons.TestUtils was added to help write unit tests React.addons.TransitionGroup was renamed to React.addons.CSSTransitionGroup React.addons.TransitionGroup was added as a more general animation wrapper React.addons.cloneWithProps was added for cloning components and modifying their props transitionLeave in CSSTransitionGroup <input> elements, checkedLink is now supported for two-way binding react-tools npm package no longer includes the React core libraries; use the react package instead. displayName is now added in more cases, improving error messages and names in the React Dev Tools JSXTransformer now uses source maps automatically in modern browsers JSXTransformer error messages now include the filename and problematic line contents when a file fails to parse Update Jun 8, 2026 tracked by Updatify
rows & cols for <textarea> defer & async for <script> loop for <audio> & <video> autoCorrect for form fields (a non-standard attribute only supported by mobile WebKit) onContextMenu events onTransition jstransform and esprima-fb Update Jun 8, 2026 tracked by Updatify
key: CVE-2013-7035 Update Jun 8, 2026 tracked by Updatify
<input type="range"> and selection events. disabled attribute handling on non-<input> elements. Update Jun 8, 2026 tracked by Updatify
charSet, content, form, httpEquiv, rowSpan, autoCapitalize). rx, ry). getInitialState and getDefaultProps in mixins. React.version. React.isValidClass - Used to determine if a value is a valid component constructor. React.autoBind - This was deprecated in v0.4 and now properly removed. React.unmountAndReleaseReactRootNode to React.unmountComponentAtNode. class to className as part of the transform! This is a breaking change - if you were using class, you must change this to className or your components will be visually broken. Update Jun 8, 2026 tracked by Updatify
setState callbacks are now executed in the scope of your component. click events now work on Mobile Safari. Object.prototype is extended. "undefined" on update when previously defined. <iframe> attributes. Update Jun 8, 2026 tracked by Updatify
id attribute to data-reactid to track DOM nodes. This allows you to integrate with other JS and CSS libraries more easily. <canvas>) React.renderComponentToString(<component>, callback) allows you to use React on the server and generate markup which can be sent down to the browser. prop improvements: validation and default values. Read our blog post for details… key prop, which allows for finer control over reconciliation. Read the docs for details… React.autoBind. Read our blog post for details… <input>, <textarea>, <option>, and <select> in order to standardize many inconsistencies in browser implementations. This includes support for defaultValue, and improved implementation of the onChange event, and circuit completion. Read the docs for details… this.setState now takes an optional callback as it’s second parameter. If you were using onClick={this.setState.bind(this, state)} previously, you’ll want to make sure you add a third parameter so that the event is not treated as the callback. <div>{/* this is a comment and won't be rendered */}</div> <div><Component1/><Component2/></div> is transformed into React.DOM.div(null, Component1(null), Component2(null)).
Previously this would be transformed into React.DOM.div(null, [Component1(null), Component2(null)]).
If you were using React without JSX previously, your code should still work. require()s to be relative unless specified Update Jun 8, 2026 tracked by Updatify
React.renderComponent(<div/>, domNode); React.renderComponent(<span/>, domNode); will work now. require statements are no longer relativized when passing through the transformer. This was a feature needed when building React, but doesn’t translate well for other consumers of bin/jsx. Update Jun 8, 2026 tracked by Updatify
var). Update Jun 8, 2026 tracked by Updatify