</>PackageGraphPackageGraph

react-dom

npmv19.2.8

React package for working with the DOM.

Safe to adopt

Yes — react-dom scores well across adoption, maintenance, weight, supply chain, and licensing. 143.7M downloads per week and 47 known dependents. Last published 50 days ago. 50 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    143.7M downloads per week and 47 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 50 days ago. 50 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 7.1 MB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding react-dom to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

7.1 MB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing react-dom, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the react-dom README.

import { createRoot } from 'react-dom/client';

function App() {
  return <div>Hello World</div>;
}

const root = createRoot(document.getElementById('root'));
root.render(<App />);

react-dom vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
react-domthis page143.7M47MIT1 month ago
react152.8M82MIT1 day ago
react-style-singleton59.1M2MIT1 day ago
reselect44M1MIT1 day ago
next40.6M0MIT1 day ago
@testing-library/user-event35.3M4MIT1 day ago

Dependencies

Declared by react-dom v19.2.8. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on react-dom.

@radix-ui/react-presencenpm

No description provided.

59.5M/wk2 dependentsMITTS
react-remove-scroll-barnpm

Removes body scroll without content _shake_

59.1M/wk1 dependentsMITTS
react-style-singletonnpm

Just create a single stylesheet...

59.1M/wk2 dependentsMITTS
fflatenpm

High performance (de)compression in an 8kB package

53.5M/wk1 dependentsMITTS
webpacknpm

Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

49.8M/wk29 dependentsMITTS
@radix-ui/react-dialognpm

No description provided.

48.3M/wk1 dependentsMITTS
reselectnpm

Selectors for Redux.

44M/wk1 dependentsMITTS
nextnpm

The React Framework

40.6M/wk0 dependentsMITTS
@testing-library/user-eventnpm

Fire events the same way the user does

35.3M/wk4 dependentsMITTS
h3npm

Minimal H(TTP) framework built for high performance and portability.

34.2M/wk8 dependentsMITTS
@reduxjs/toolkitnpm

The official, opinionated, batteries-included toolset for efficient Redux development

26.4M/wk2 dependentsMITTS
vaulnpm

Drawer component for React.

24.4M/wk1 dependentsMITTS
expo-routernpm

Expo Router is a file-based router for React Native and web applications.

0/wk2 dependentsMITTS
react-server-dom-webpacknpm

React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.

0/wk2 dependentsMIT
react-native-screensnpm

Native navigation primitives for your React Native app.

0/wk1 dependentsMITTS
react-fast-comparenpm

Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.

0/wk1 dependentsMITTS
@radix-ui/react-tabsnpm

No description provided.

0/wk1 dependentsMITTS
@radix-ui/react-slotnpm

No description provided.

0/wk4 dependentsMITTS
react-native-reanimatednpm

More powerful alternative to Animated library for React Native.

0/wk4 dependentsMITTS
@radix-ui/react-contextnpm

No description provided.

0/wk4 dependentsMITTS
@radix-ui/react-directionnpm

No description provided.

0/wk2 dependentsMITTS
@radix-ui/react-primitivenpm

No description provided.

0/wk7 dependentsMITTS
@radix-ui/react-roving-focusnpm

No description provided.

0/wk1 dependentsMITTS
@radix-ui/react-use-controllable-statenpm

No description provided.

0/wk3 dependentsMITTS

Relationship graph

Dependencies (left) and dependents (right) of react-dom.

Frequently installed together

Release history

50 releases in the last two years, typically about 0 days apart.

Recent versions of react-dom
VersionPublishedSizeLicense
0.0.0-experimental-6c0e1047-202609081 day ago10 MBMIT
19.3.0-canary-6c0e1047-202609081 day ago7.7 MBMIT
0.0.0-experimental-f1f7ed2a-202609042 days ago10 MBMIT
19.3.0-canary-f1f7ed2a-202609042 days ago7.7 MBMIT
0.0.0-experimental-8425b691-202609045 days ago10 MBMIT
19.3.0-canary-8425b691-202609045 days ago7.7 MBMIT
0.0.0-experimental-d9f4e76b-202609036 days ago10 MBMIT
19.3.0-canary-d9f4e76b-202609036 days ago7.7 MBMIT
0.0.0-experimental-f4e439e1-202609027 days ago10 MBMIT
19.3.0-canary-f4e439e1-202609027 days ago7.7 MBMIT
0.0.0-experimental-21c89c9f-202609018 days ago10 MBMIT
19.3.0-canary-21c89c9f-202609018 days ago7.7 MBMIT
0.0.0-experimental-ff7445e6-202608319 days ago10 MBMIT
19.3.0-canary-ff7445e6-202608319 days ago7.7 MBMIT
19.3.0-canary-2dc7da79-2026082812 days ago7.7 MBMIT

Overview

react-dom is an npm package that react package for working with the DOM. It is extremely widely used, with about 143.7M downloads per week and 47 known dependents in the graph. The latest version is 19.2.8, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need react package for working with the DOM and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (143.7M weekly downloads).
  • Clear open-source license (MIT).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use react-dom?

Yes — react-dom scores well across adoption, maintenance, weight, supply chain, and licensing. 143.7M downloads per week and 47 known dependents. Last published 50 days ago. 50 releases in the last 2 years.

How do I install react-dom?

Run `npm install react-dom` to add react-dom to your npm project.

How many dependencies does react-dom have?

react-dom declares 2 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 7.1 MB on disk.

What license is react-dom released under?

react-dom is distributed under the MIT license.

How popular is react-dom?

react-dom has approximately 143,693,625 downloads per week and 47 known dependent packages.

Is react-dom still maintained?

The most recent release of react-dom (v19.2.8) was published 1 month ago.

Does react-dom run install scripts?

No. react-dom does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.