NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3926 most downloaded on npm
React package for snapshot testing.
Latest stable
19.3.1
Last release 3 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
2921 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
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 →
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
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
Remove an unused dependency to address the `SharedArrayBuffer` cross-origin isolation warning. (@koba04 and @bvaughn in #20831, #20832, and #20840)
SharedArrayBuffer cross-origin isolation warning. (@koba04 and @bvaughn in #20831, #20832, and #20840)Fix a crash in IE11. (@gaearon in #20071)
Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
react/jsx-runtime and react/jsx-dev-runtime for the new JSX transform. (@lunaruan in #18299)displayName on context for improved stacks. (@eps1lon in #18224)'use strict' from leaking in the UMD bundles. (@koba04 in #19614)fb.me for redirects. (@cylim in #19598)document. (@trueadm in #18195 and others)useEffect cleanup functions asynchronously. (@bvaughn in #17925)focusin and focusout for onFocus and onBlur. (@trueadm in #19186)Capture events use the browser capture phase. (@trueadm in #19221)onScroll event. (@gaearon in #19464)forwardRef or memo component returns undefined. (@gaearon in #19550)console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)ReactTestUtils.SimulateNative API. (@gaearon in #13407)ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)code property to the keyboard event objects. (@bl00mber in #18287)disableRemotePlayback property for video elements. (@tombrowndev in #18619)enterKeyHint property for input elements. (@eps1lon in #18634)value is provided to <Context.Provider>. (@charlie1404 in #19054)memo or forwardRef components return undefined. (@bvaughn in #19550)onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)setState hanging in development inside a closed iframe. (@gaearon in #19220)defaultProps. (@jddxf in #18539)dangerouslySetInnerHTML is undefined. (@eps1lon in #18676)require implementation. (@just-boris in #18632)onBeforeInput reporting an incorrect event.type. (@eps1lon in #19561)event.relatedTarget reported as undefined in Firefox. (@claytercek in #19607)movementX/Y polyfill with capture events. (@gaearon in #19672)onSubmit and onReset events. (@gaearon in #19333)useCallback behavior consistent with useMemo for the server renderer. (@alexmckenley in #18783)findByType error message. (@henryqdineen in #17439)unstable_ prefix before the experimental APIs. (@acdlite in #18825)unstable_discreteUpdates and unstable_flushDiscreteUpdates. (@trueadm in #18825)timeoutMs argument. (@acdlite in #19703)<div hidden /> prerendering in favor of a different future API. (@acdlite in #18917)unstable_expectedLoadTime to Suspense for CPU-bound trees. (@acdlite in #19936)unstable_useOpaqueIdentifier Hook. (@lunaruan in #17322)unstable_startTransition API. (@rickhanlonii in #19696)act in the test renderer no longer flushes Suspense fallbacks. (@acdlite in #18596)useMutableSource that may happen when getSnapshot changes. (@bvaughn in #18297)useMutableSource. (@bvaughn in #18912)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for the new JSX transform. (@lunaruan in #18299)
Fix bug in legacy mode Suspense where effect clean-up functions are not fired. This only affects users who use Suspense for data fetching in legacy mo
componentWillReceiveProps, shouldComponentUpdate, and so on). (@gaearon in #18330)Deprecate React.createFactory() (@trueadm in #17878)
React.createFactory() (@trueadm in #17878)style may cause an unexpected collision (@sophiebits in #14181, #18002)unstable_createPortal (@trueadm in #17880)onMouseEnter being fired on disabled buttons (@AlfredoGJ in #17675)shouldComponentUpdate twice when developing in StrictMode (@bvaughn in #17942)version property to ReactDOM (@ealush in #15780)toString() of dangerouslySetInnerHTML (@sebmarkbage in #17773)ReactDOM.createRoot() (@trueadm in #17937)ReactDOM.createRoot() callback params and added warnings on usage (@bvaughn in #17916)SuspenseList CPU bound heuristic (@sebmarkbage in #17455)isPending only being true when transitioning from inside an input event (@acdlite in #17382)React.memo components dropping updates when interrupted by a higher priority update (@acdlite in #18091)Fix passive effects (useEffect) not being fired in a multi-root app. (@acdlite in #17347)
• react: https://unpkg.com/react@16.12.0/umd/ • react-art: https://unpkg.com/react-art@16.12.0/umd/ • react-dom: https://unpkg.com/react-dom@16.12.0/umd/ • react-is: https://unpkg.com/react-is@16.12.0/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.12.0/umd/ • scheduler: https://unpkg.com/scheduler@0.18.0/umd/
Fix mouseenter handlers from firing twice inside nested React containers. @yuanoook in #16928
mouseenter handlers from firing twice inside nested React containers. @yuanoook in #16928unstable_createRoot and unstable_createSyncRoot experimental APIs. (These are available in the Experimental channel as createRoot and createSyncRoot.) (@acdlite in #17088)• react: https://unpkg.com/react@16.11.0/umd/ • react-art: https://unpkg.com/react-art@16.11.0/umd/ • react-dom: https://unpkg.com/react-dom@16.11.0/umd/ • react-is: https://unpkg.com/react-is@16.11.0/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.11.0/umd/ • scheduler: https://unpkg.com/scheduler@0.17.0/umd/
Fix regression in react-native-web by restoring order of arguments in event plugin extractors (@necolas in #16978)
• react: https://unpkg.com/react@16.10.2/umd/ • react-art: https://unpkg.com/react-art@16.10.2/umd/ • react-dom: https://unpkg.com/react-dom@16.10.2/umd/ • react-is: https://unpkg.com/react-is@16.10.2/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.10.2/umd/ • scheduler: https://unpkg.com/scheduler@0.16.2/umd/
Fix regression in Next.js apps by allowing Suspense mismatch during hydration to silently proceed (@sebmarkbage in #16943)
Fix edge case where a hook update wasn't being memoized. (@sebmarkbage in #16359)
Object.is instead of inline polyfill, when available. (@ku8ar in #16212)postMessage loop with short intervals instead of attempting to align to frame boundaries with requestAnimationFrame. (@acdlite in #16214)• react: https://unpkg.com/react@16.10.0/umd/ • react-art: https://unpkg.com/react-art@16.10.0/umd/ • react-dom: https://unpkg.com/react-dom@16.10.0/umd/ • react-is: https://unpkg.com/react-is@16.10.0/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.10.0/umd/ • scheduler: https://unpkg.com/scheduler@0.16.0/umd/
Deprecate old names for the UNSAFE_* lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)
<React.Profiler> API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentMode in favor of unstable_createRoot. (@acdlite in #15532)UNSAFE_* lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript: URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPicture attribute on <video>. (@eek in #15334)onLoad event for <embed>. (@cherniavskii in #15614)useState state from DevTools. (@bvaughn in #14906)setState is called from useEffect, creating a loop. (@gaearon in #15180)findDOMNode for components wrapped in <Suspense>. (@acdlite in #15312)!important style. (@acdlite in #15861 and #15882)act(async () => ...) for testing asynchronous state updates. (@threepointone in #14853)act from different renderers. (@threepointone in #16039 and #16042)act() call. (@threepointone in #15763 and #16041)act from the wrong renderer. (@threepointone in #15756)• react: https://unpkg.com/react@16.9.0/umd/ • react-art: https://unpkg.com/react-art@16.9.0/umd/ • react-dom: https://unpkg.com/react-dom@16.9.0/umd/ • react-is: https://unpkg.com/react-is@16.9.0/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.9.0/umd/ • scheduler: https://unpkg.com/scheduler@0.15.0/umd/
This is a release candidate for React v16.9.0.
This is a release candidate for React v16.9.0.
Changelog is available in https://github.com/facebook/react/pull/16254.
• react: https://unpkg.com/react@16.9.0-rc.0/umd/ • react-art: https://unpkg.com/react-art@16.9.0-rc.0/umd/ • react-dom: https://unpkg.com/react-dom@16.9.0-rc.0/umd/ • react-is: https://unpkg.com/react-is@16.9.0-rc.0/umd/ • react-test-renderer: https://unpkg.com/react-test-renderer@16.9.0-rc.0/umd/ • scheduler: https://unpkg.com/scheduler@0.15.0-rc.0/umd/
(await act(async () => ...) (@threepointone in #14853)
await act(async () => ...) (@threepointone in #14853)Fix an incorrect bailout in useReducer(). (@acdlite in #15124)
useReducer(). (@acdlite in #15124)contextType is set to Context.Consumer instead of Context. (@aweary in #14831)contextType is set to invalid values. (@gaearon in #15142)Don't set the first option as selected in select tag with size attribute. (@kulek1 in #14242)
size attribute. (@kulek1 in #14242)useEffect(async () => ...) warning message. (@gaearon in #15118)setState in shallow renderer to work with Hooks. (@gaearon in #15120)React.memo. (@aweary in #14816)forwardRef. (@eps1lon in #15100)Fix a bug where DevTools caused a runtime error when inspecting a component that used a useContext hook. (@bvaughn in #14940)
Fix a bug that caused inputs to behave incorrectly in UMD builds. (@gaearon in #14914)
Fix ReactDOM.render being ignored inside useEffect. (@gaearon in #14799)
ReactDOM.render being ignored inside useEffect. (@gaearon in #14799)useImperativeHandle to work correctly when no deps are specified. (@gaearon in #14801)crossOrigin attribute to work in SVG image elements. (@aweary in #14832)act() warning. (@threepointone in #14855)One column per quarter.