Files
agentic-dev/docs/library-decisions/2026-05-14-react-dom.md
Danijel Martinek f77e6ea881 chore(template): clean-slate template snapshot from bb4a0c7
Curated, product-agnostic snapshot of the post-story-04 tree: demo
content deleted, auth-only reference feature, web-next shell, all gates
green. Product-specific docs, ADRs 027-029, PRDs/epics/archive, editor
library traces, and product naming are curated out; generic template
repairs (coverage provider devDeps, root test:coverage script, live
lint fixes, root-only release-please) are kept. See TEMPLATE.md for
provenance, curation list, and usage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
2026-07-12 20:40:54 +02:00

2.5 KiB

package, version, tier, decision, date, deciders, adr, lastRevalidated, is-sub-processor, processes-pii, filter-results, verification-commands, accepted-cves
package version tier decision date deciders adr lastRevalidated is-sub-processor processes-pii filter-results verification-commands accepted-cves
react-dom ^19.0.0 core approved 2026-05-14
Danijel Martinek
null null false false
license types maintenance boundary-fit shadow-check eu-residency cve-scan named-consumer socketRisk
MIT native active pass pass n/a clean pass clean
npm view react-dom license
npm view react-dom version
pnpm audit --audit-level=moderate

Filter: license

npm view react-dom license returns MIT. MIT is on the allowlist.

Filter: types

react-dom ships its own TypeScript declaration files in React 19. No separate @types/react-dom package is required at runtime.

Filter: maintenance

Actively maintained by Meta alongside react. Versioned and released together with the React core package.

Filter: boundary-fit

react-dom is a dependency of @repo/core-testing to enable DOM-based React component rendering via @testing-library/react. No boundary rule restricts react-dom usage in the testing tier.

Filter: shadow-check

react-dom is the sole React DOM renderer in the workspace. No competing renderer (react-native, react-three-fiber, etc.) targets the same DOM environment.

Filter: eu-residency

react-dom is a pure runtime library for DOM rendering with no network communication. EU residency does not apply.

Filter: cve-scan

pnpm audit --audit-level=moderate reports no advisories against react-dom at the time of this trace.

Filter: named-consumer

@repo/core-testing uses react-dom as a peer dependency for @testing-library/react DOM rendering. Named, non-hypothetical consumer exists today.

Prompt: replaces

react-dom is the mandatory companion to react for web rendering; no alternative was evaluated separately.

Prompt: migration-cost-out

Impossible. react-dom is the DOM rendering layer for all React components in the workspace. Replacing it would require migrating to a different renderer or framework simultaneously with React.

Prompt: alternatives-considered

  1. react-dom/server only — Insufficient: the testing layer requires the full DOM renderer for @testing-library/react.
  2. No alternatives applicablereact-dom is the only DOM renderer for React; the choice is inherent to the React framework selection.