React
React DOM
Downloads
React
- React package and browser build no longer "secretly" includes React DOM. (@sebmarkbage in #7164 and #7168)
- Required PropTypes now fail with specific messages for null and undefined. (@chenglou in #7291)
- Improved development performance by freezing children instead of copying. (@keyanzhang in #7455)
React DOM
- Fixed occasional test failures when React DOM is used together with shallow renderer. (@goatslacker in #8097)
- Added a warning for invalid
aria-attributes. (@jessebeach in #7744) - Added a warning for using
autofocusrather thanautoFocus. (@hkal in #7694) - Removed an unnecessary warning about polyfilling
String.prototype.split. (@nhunzaker in #7629) - Clarified the warning about not calling PropTypes manually. (@jedwards1211 in #7777)
- The unstable
batchedUpdatesAPI now passes the wrapped function's return value through. (@bgnorlov in #7444) - Fixed a bug with updating text in IE 8. (@mnpenner in #7832)
React Perf
- When ReactPerf is started, you can now view the relative time spent in components as a chart in Chrome Timeline. (@gaearon in #7549)
React Test Utils
- If you call
Simulate.click()on a<input disabled onClick={foo} />thenfoowill get called whereas it didn't before. (@nhunzaker in #7642)
React Test Renderer
- Due to packaging changes, it no longer crashes when imported together with React DOM in the same file. (@sebmarkbage in #7164 and #7168)
-
ReactTestRenderer.create()now accepts{createNodeMock: element => mock}as an optional argument so you can mock refs with snapshot testing. (@Aweary in #7649, #8261)
Downloads
React
React DOM
- Add
playsInlineto supported HTML attributes. (@reaperhulk in #7519) - Add
asto supported HTML attributes. (@kevinslin in #7582) - Improve DOM nesting validation warning about whitespace. (@spicyj in #7515)
- Avoid "Member not found" exception in IE10 when calling
preventDefault()in Synthetic Events. (@g-palmer in #7411) - Fix memory leak in
onSelectimplementation. (@AgtLucas in #7533) - Improve robustness of
document.documentModechecks to handle Google Tag Manager. (@SchleyB in #7594) - Add more cases to controlled inputs warning. (@marcin-mazurek in #7544)
- Handle case of popup blockers overriding
document.createEvent. (@Andarist in #7621) - Fix issue with
dangerouslySetInnerHTMLand SVG in Internet Explorer. (@zpao in #7618) - Improve handling of Japanese IME on Internet Explorer. (@msmania in #7107)
React Test Renderer
- Support error boundaries. (@millermedeiros in #7558, #7569, #7619)
- Skip null ref warning. (@Aweary in #7658)
React Perf Add-on
Downloads
React
- Improve performance of development builds in various ways. (@gaearon in #7461, #7463, #7483, #7488, #7491, #7510)
- Cleanup internal hooks to improve performance of development builds. (@gaearon in #7464, #7472, #7481, #7496)
- Upgrade fbjs to pick up another performance improvement from @gaearon for development builds. (@zpao in #7532)
- Improve startup time of React in Node. (@zertosh in #7493)
- Improve error message of
React.Children.only. (@spicyj in #7514)
React DOM
- Avoid
<input>validation warning from browsers when changingtype. (@nhunzaker in #7333) - Avoid "Member not found" exception in IE10 when calling
stopPropagation()in Synthetic Events. (@nhunzaker in #7343) - Fix issue resulting in inability to update some
<input>elements in mobile browsers. (@keyanzhang in #7397) - Fix memory leak in server rendering. (@keyanzhang in #7410)
- Fix issue resulting in
<input type="range">values not updating when changingminormax. (@troydemonbreun in #7486) - Add new warning for rare case of attempting to unmount a container owned by a different copy of React. (@ventuno in #7456)
React Test Renderer
React Native Renderer
- Change
trackedTouchCountinvariant into a console.error for better reliability. (@yungsters in #7400)
Downloads
React
- Add
React.PureComponent- a new base class to extend, replacingreact-addons-pure-render-mixinnow that mixins don't work with ES2015 classes. (@spicyj in #7195) - Add new warning when modifying
this.props.children. (@jimfb in #7001) - Fixed issue with ref resolution order. (@gaearon in #7101)
- Warn when mixin is undefined. (@swaroopsm in #6158)
- Downgrade "unexpected batch number" invariant to a warning. (@spicyj in #7133)
- Validate arguments to
oneOfandoneOfTypePropTypes sooner. (@troydemonbreun in #6316) - Warn when calling PropTypes directly. (@Aweary in #7132, #7194)
- Improve warning when using Maps as children. (@keyanzhang in #7260)
- Add additional type information to the
PropTypes.elementwarning. (@alexzherdev in #7319) - Improve component identification in no-op
setStatewarning. (@keyanzhang in #7326)
React DOM
- Fix issue with nested server rendering. (@Aweary in #7033)
- Add
xmlns,xmlnsXlinkto supported SVG attributes. (@salzhrani in #6471) - Add
referrerPolicyto supported HTML attributes. (@Aweary in #7274) - Fix issue resulting in
<input type="range">initial value being rounded. (@troydemonbreun in #7251)
React Test Renderer
- Initial public release of package allowing more focused testing. Install with
npm install react-test-renderer. (@spicyj in #6944, #7258, @iamdustan in #7362)
React Perf Add-on
- Fix issue resulting in excessive warnings when encountering an internal measurement error. (@sassanh in #7299)
React TestUtils Add-on
Downloads
React
- Fix errant warning about missing React element. (@gaearon in #7193)
- Better removal of dev-only code, leading to a small reduction in the minified production bundle size. (@gaearon in #7188, #7189)
React DOM
- Add stack trace to null input value warning. (@jimfb in #7040)
- Fix webcomponents example. (@jalexanderfox in #7057)
- Fix
unstable_renderSubtreeIntoContainerso that context properly updates when linked to state. (@gaearon in #7125) - Improve invariant wording for void elements. (@starkch in #7066)
- Ensure no errors are thrown due to event handlers in server rendering. (@rricard in #7127)
- Fix regression resulting in
value-less submit and reset inputs removing the browser-default text. (@zpao in #7197) - Fix regression resulting in empty
nameattribute being added to inputs when not provided. (@okonet in #7199) - Fix issue with nested server rendering. (@Aweary in #7033)
React Perf Add-on
React CSSTransitionGroup Add-on
- Fix issue resulting in spurious unknown property warnings. (@batusai513 in #7165)
React Native Renderer
- Improve error handling in cross-platform touch event handling. (@yungsters in #7143)
Downloads
React
- 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.symbolto 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
onLoadhandling to<link>element. (@roderickhsiao in #6815) - Add
onErrorhandling to<source>element. (@wadahiro in #6941) - Handle
valueanddefaultValuemore 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
dangerouslySetInnerHTMLand 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
- Add
isRunning()API. (@nfcampos in #6763) - Improve accuracy of lifecycle hook timing. (@gaearon in #6858)
- Fix internal errors when using ReactPerf with portal components. (@gaearon in #6860)
- Fix performance regression. (@spicyj in #6770)
- Add warning that ReactPerf is not enabled in production. (@sashashakun in #6884)
React CSSTransitionGroup Add-on
- Fix timing issue with
nullnode. (@keyanzhang in #6958)
React Native Renderer
- Dependencies on React Native modules use CommonJS requires instead of providesModule. (@davidaurelio in #6715)
Downloads
React
- Ensure we're using the latest
object-assign, which has protection against a non-spec-compliant nativeObject.assign. (@zpao in #6681) - Add a new warning to communicate that
propsobjects passed tocreateElementmust be plain objects. (@richardscarrott in #6134) - Fix a batching bug resulting in some lifecycle methods incorrectly being called multiple times. (@spicyj in #6650)
React DOM
- Fix regression in custom elements support. (@jscissr in #6570)
- Stop incorrectly warning about using
onScrollevent handler with server rendering. (@Aweary in #6678) - Fix grammar in the controlled input warning. (@jakeboone02 in #6657)
- Fix issue preventing
<object>nodes from being able to read<param>nodes in IE. (@syranide in #6691) - Fix issue resulting in crash when using experimental error boundaries with server rendering. (@jimfb in #6694)
- Add additional information to the controlled input warning. (@borisyankov in #6341)
React Perf Add-on
- Completely rewritten to collect data more accurately and to be easier to maintain. (@gaearon in #6647, #6046)
React Native Renderer
- Remove some special cases for platform specific branching. (@sebmarkbage in #6660)
- Remove use of
mergeutility. (@sebmarkbage in #6634) - Renamed some modules to better indicate usage (@javache in #6643)
Downloads
React
- Removed extraneous files from npm package. (@gaearon in #6388)
- Ensure
componentWillUnmountis only called once. (@jimfb in #6613)
ReactDOM
- Fixed bug resulting in disabled buttons responding to mouse events in IE. (@nhunzaker in #6215)
- Ensure
<option>s are correctly selected when inside<optgroup>. (@trevorsmith in #6442) - Restore support for rendering into a shadow root. (@Wildhoney in #6462)
- Ensure nested
<body>elements are caught when warning for invalid markup. (@keyanzhang in #6469) - Improve warning when encountering multiple elements with the same key. (@hkal in #6500)
React TestUtils Add-on
- Ensure that functional components do not have an owner. (@gaearon in #6362)
- Handle invalid arguments to
scryRenderedDOMComponentsWithClassbetter. (@ipeters90 in #6529)
React Perf Add-on
React Native Renderer
- These files are now shipped inside the React npm package. They have no impact on React core or ReactDOM.
Downloads
PreviousNext