Home / npm packages / react-dom

react-dom source code

Every file of react-dom@19.3.0 as published on npm: 41 files, 5.7 MB. Search them by exact text or regex, in milliseconds.

It uses: process.env, crypto.

What react-dom uses

APIIn react-dom
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 20 files
e.g. client.js
See the lines
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 4 files
e.g. cjs/react-dom-server.bun.development.js
See the lines
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
cjs/react-dom-profiling.profiling.js700 KB
cjs/react-dom-client.production.js625 KB
cjs/react-dom-server.node.development.js458 KB
cjs/react-dom-server.edge.development.js452 KB
cjs/react-dom-server.browser.development.js451 KB
cjs/react-dom-server-legacy.browser.development.js422 KB
cjs/react-dom-server-legacy.node.development.js422 KB
cjs/react-dom-server.bun.development.js399 KB
cjs/react-dom-server.node.production.js301 KB
cjs/react-dom-server.edge.production.js293 KB
cjs/react-dom-server.bun.production.js287 KB
cjs/react-dom-server.browser.production.js287 KB
cjs/react-dom-server-legacy.node.production.js264 KB
cjs/react-dom-server-legacy.browser.production.js259 KB
cjs/react-dom.development.js18 KB
cjs/react-dom.react-server.development.js15 KB
cjs/react-dom.production.js7.3 KB
cjs/react-dom.react-server.production.js5.2 KB
package.json3.1 KB
profiling.js1.4 KB
client.js1.4 KB
index.js1.4 KB
README.md1.1 KB
LICENSE1.1 KB
cjs/react-dom-test-utils.development.js793 B
cjs/react-dom-test-utils.production.js686 B
server.bun.js677 B
server.node.js669 B
server.browser.js563 B
server.edge.js561 B

Questions

How many files are in react-dom?

Version 19.3.0 of react-dom publishes 41 files of source, 5.7 MB in all, not counting images, fonts and source maps.

Does react-dom use eval?

No: react-dom doesn't call eval() anywhere in its published files.

Does react-dom start other programs?

No: react-dom doesn't use child_process anywhere in its published files.

Does react-dom run an install script?

No: react-dom has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine