react-dom

react-dom breaking-changes badge

react-dom (latest known version: 19.2.8) has 187 known breaking changes on record, each backed by a source URL.

Actively maintainedLatest known version: 19.2.8npm ↗

Security advisories

GHSA-mvjj-gqq2-p4hwMODERATE>=16.0.0 <16.0.1 || >=16.1.0 <16.1.2 || >=16.2.0 <16.2.1 || >=16.3.0 <16.3.3 || >=16.4.0 <16.4.2

Cross-Site Scripting in react-dom

source ↗

Recent changes

v19.2.8Notable

Performance improvements when decoding React Server Components

source ↗

v19.2.7Security

Fixed missing `FormData` entries in Server Actions which regressed in 19.2.6

source ↗

v19.2.6Notable

Type hardening and performance improvements for React Server Components

source ↗

v19.2.5Notable

Add more cycle protections in React Server Components

source ↗

v19.2.4Security

Add more DoS mitigations to Server Actions, and harden Server Components

source ↗

v19.2.3Notable

Add extra loop protection to React Server Functions

source ↗

v19.2.2Breaking

Move `react-server-dom-webpack/*.unbundled` to private `react-server-dom-unbundled`

Update imports from `react-server-dom-webpack/*.unbundled` to use the private `react-server-dom-unbundled` package instead

source ↗

v19.2.1Notable

Bring React Server Component fixes to Server Actions

source ↗

v19.2.0Notable

Added support for .mjs file extension in Webpack for React Server Components

source ↗

v19.2.0Notable

Enable `progressiveChunkSize` option for server-side-rendering APIs

source ↗

v19.2.0Notable

Allow `nonce` to be used on hoistable styles

source ↗

v19.2.0Notable

Stop warning when ARIA 1.3 attributes are used

source ↗

v19.2.0Notable

Block on Suspensey Fonts during reveal of server-side-rendered content

source ↗

v19.2.0Notable

Added `react-hooks` settings config option to accept `additionalEffectHooks` for use across exhaustive-deps and rules-of-hooks rules

source ↗

v19.2.0Notable

eslint-plugin-react-hooks now handles `React.useEffect` in addition to `useEffect` in rules-of-hooks

source ↗

v19.2.0Notable

eslint-plugin-react-hooks now disallows calling `useEffectEvent` functions in arbitrary closures

source ↗

v19.2.0Notable

eslint-plugin-react-hooks now disallows calling `use` within try/catch blocks

source ↗

v19.2.0Notable

Added Node Web Streams support to server-side-rendering APIs for Node.js in `prerender` and `renderToReadableStream`

source ↗

v19.2.0Notable

React DOM now batches suspense boundary reveals, matching client side rendering behavior

source ↗

v19.2.0Notable

Updated `prerender` APIs to return a `postponed` state that can be passed to the `resume` APIs

source ↗

v19.2.0Notable

Added `resumeAndPrerenderToNodeStream` API to resume a prerender to HTML using Node Streams

source ↗

v19.2.0Notable

Added `resumeToPipeableStream` API to resume a prerender to a Node Stream

source ↗

v19.2.0Notable

Added `resumeAndPrerender` API to resume a prerender to HTML

source ↗

v19.2.0Notable

Added `resume` API to resume a prerender to a Web Stream

source ↗

v19.2.0Notable

Added React Performance tracks that appear on the Performance panel's timeline in browser developer tools

source ↗

v19.2.0Notable

Added `cacheSignal` API for React Server Components to know when the `cache()` lifetime is over

source ↗

v19.2.0Notable

Added `useEffectEvent` Hook to extract non-reactive logic into an Effect Event

source ↗

v19.2.0Notable

Added `<Activity>` component to hide and restore the UI and internal state of its children

source ↗

v19.2.0Breaking

Adjusted parameter order in `createContainer` and `createHydrationContainer` in React Reconciler after `on*` handlers

source ↗

v19.2.0Breaking

Flat config is now the default `recommended` preset in eslint-plugin-react-hooks, with legacy config moved to `recommended-legacy`

source ↗

Check what changed for react-dom since your installed version, live.

Open the playground →