Is react-addons-test-utils still maintained?
No — react-addons-test-utils stopped being maintained around April 2017. react-addons-test-utils's functionality was absorbed into react-dom.
- Status
- No longer maintained
- Last maintained
- April 2017
- Use instead
react-dom— on npm- Succession
- Absorbed elsewhere
- Drop-in
- no — expect code changes
- Confidence
- high
What should I use instead of react-addons-test-utils?
react-addons-test-utils's functionality was absorbed into react-dom. react-dom is not a drop-in replacement, so expect to change call sites.
How to migrate from react-addons-test-utils to react-dom
On React 15.5 to 18, change require('react-addons-test-utils') to require('react-dom/test-utils'). On React 19 that no longer works: act moved to the react package and the remaining test-utils functions error when called, so use @testing-library/react instead.
Why react-addons-test-utils is on this list
React's add-on packages were folded into the core packages in React 15.5. The README for react-addons-test-utils states it is deprecated as of 15.5.0, that TestUtils moved to react-dom/test-utils and that the shallow renderer moved to react-test-renderer/shallow. Its last release was 15.6.2 in September 2017, and React 19 has since removed the test-utils functions, so the destination depends on which React version you are on.
The succession is settled: primary sources agree and the ecosystem has already moved.
react-addons-test-utils alternatives
Beyond the primary recommendation, these are credible for react-addons-test-utils's use case:
@testing-library/react— view on npm
Check your own project for react-addons-test-utils
npx dead-deps --all --min-state unmaintained
Run that in the directory holding your lockfile. If react-addons-test-utils is anywhere in your tree — a direct dependency or buried under something else — it appears in the report with this verdict, this successor and the same evidence links, alongside anything else that has stopped moving. Nothing is uploaded; the scan reads your lockfile locally and queries public registry metadata.
Exit code 1 means something was flagged, which makes npx dead-deps --min-state deprecated usable as a CI gate. See how verdicts are produced.
Evidence
Every claim on this page traces to a primary source. Check them:
- react-addons-test-utils README: deprecated as of React 15.5, moved to react-dom/test-utilsnpmjs.com
- React 19 upgrade guide: react-dom/test-utils functions removed, act moved to reactreact.dev
Packages related to react-addons-test-utils
- react-testing-libraryRenamed package: @testing-library/react · unmaintained since May 2019
- create-react-appSuccessor named by the maintainers: vite · unmaintained since February 2025
- enzymeReplacement project: @testing-library/react · unmaintained since December 2019
- sinon-as-promisedAbsorbed elsewhere: sinon · unmaintained since March 2017
- @angular/httpAbsorbed elsewhere: @angular/common · unmaintained since May 2019
See the full index of covered packages, or read the methodology for how a verdict is reached and why a quiet package is not a dead one.