Home / npm packages / react

react source code

Every file of react@19.3.0 as published on npm: 27 files, 179 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env.

What react uses

APIIn react
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: 14 files
e.g. compiler-runtime.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
NoWho does
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.development.js49 KB
cjs/react.react-server.development.js32 KB
cjs/react.production.js18 KB
cjs/react-jsx-dev-runtime.react-server.development.js14 KB
cjs/react-jsx-runtime.react-server.development.js14 KB
cjs/react.react-server.production.js14 KB
cjs/react-jsx-runtime.development.js13 KB
cjs/react-jsx-dev-runtime.development.js12 KB
cjs/react-jsx-dev-runtime.react-server.production.js1.3 KB
cjs/react-jsx-runtime.react-server.production.js1.3 KB
package.json1.2 KB
README.md1.2 KB
cjs/react-compiler-runtime.development.js1.1 KB
LICENSE1.1 KB
cjs/react-jsx-runtime.production.js976 B
cjs/react-jsx-runtime.profiling.js975 B
cjs/react-compiler-runtime.production.js463 B
cjs/react-compiler-runtime.profiling.js462 B
compiler-runtime.js412 B
cjs/react-jsx-dev-runtime.production.js387 B
cjs/react-jsx-dev-runtime.profiling.js386 B
jsx-dev-runtime.react-server.js244 B
jsx-runtime.react-server.js236 B
jsx-dev-runtime.js218 B
react.react-server.js212 B
jsx-runtime.js210 B
index.js186 B

Questions

How many files are in react?

Version 19.3.0 of react publishes 27 files of source, 179 KB in all, not counting images, fonts and source maps.

Does react use eval?

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

Does react start other programs?

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

Does react run an install script?

No: react 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