npm · npm:@testing-library/react-hooks
@testing-library/react-hooks active
Simple and complete React hooks testing utilities that encourage good testing practices.
The latest stable version of @testing-library/react-hooks is 8.0.1, published on 2022-06-18. Verified by Vigia on 2026-11-12.
| Latest stable version | 8.0.1 |
|---|---|
| Published | 2022-06-18 13:20:19 UTC |
| Install | npm install @testing-library/react-hooks@latest |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | react ^16.9.0 || ^17.0.0 react-dom ^16.9.0 || ^17.0.0 @types/react ^16.9.0 || ^17.0.0 react-test-renderer ^16.9.0 || ^17.0.0 |
| Dist-tags | beta: 5.0.0-beta.12 alpha: 8.0.0-alpha.1 latest: 8.0.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:15:00 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-06-18 13:20:19 UTC · 1608 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 53 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.0.1 | 2022-06-18 13:20:19 UTC |
8.0.0 | 2022-04-10 12:24:50 UTC |
7.0.2 | 2021-08-31 11:30:38 UTC |
7.0.1 | 2021-06-30 21:12:11 UTC |
7.0.0 | 2021-05-24 22:55:02 UTC |
6.0.0 | 2021-05-18 13:14:26 UTC |
5.1.3 | 2021-05-18 12:08:48 UTC |
5.1.2 | 2021-04-22 09:18:47 UTC |
5.1.1 | 2021-03-29 17:47:28 UTC |
5.1.0 | 2021-03-01 15:37:02 UTC |
5.0.3 | 2021-01-24 08:51:55 UTC |
5.0.2 | 2021-01-22 10:13:35 UTC |
5.0.0 | 2021-01-13 21:58:55 UTC |
4.0.1 | 2021-01-12 11:48:53 UTC |
4.0.0 | 2021-01-07 03:54:03 UTC |
3.7.0 | 2020-12-08 09:26:58 UTC |
3.6.0 | 2020-12-07 10:13:27 UTC |
3.5.0 | 2020-12-06 11:47:33 UTC |
3.4.2 | 2020-09-28 11:24:16 UTC |
3.4.1 | 2020-07-23 09:54:51 UTC |
Showing the 20 most recent of 37 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 8.0.1 |
node 18 | 8.0.1 |
node 20 | 8.0.1 |
node 22 | 8.0.1 |
node 24 | 8.0.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @testing-library/react-hooks?
The latest stable version of @testing-library/react-hooks is 8.0.1, published on 2022-06-18. Verified by Vigia on 2026-11-12.
How do I install the latest version of @testing-library/react-hooks?
Run npm install @testing-library/react-hooks@latest. The latest stable version is 8.0.1 (verified 2026-11-12).
Is @testing-library/react-hooks deprecated?
No. @testing-library/react-hooks is not marked as deprecated in the registry.
Which Node.js version does @testing-library/react-hooks require?
@testing-library/react-hooks 8.0.1 declares this requirement: {"node":">=12"}.
Does @testing-library/react-hooks 8.0.1 have known vulnerabilities?
No known advisories affect @testing-library/react-hooks 8.0.1 according to the data Vigia checks.
Is @testing-library/react-hooks still maintained?
@testing-library/react-hooks published 0 stable releases in the last 12 months; the most recent was 1608 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @types/react
- react
- react-dom
- react-test-renderer
- unist-util-remove
- @react-native-community/cli-types
- left-pad
- @react-email/code-inline
- @types/draco3d
- vercel
- unix-dgram
- @types/command-line-usage
- @react-aria/tabs
- @csstools/postcss-logical-overflow
- @semantic-release/npm
- standardwebhooks
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@testing-library/react-hooks) [](https://vigia.coredls.cloud/npm/@testing-library/react-hooks) [](https://vigia.coredls.cloud/npm/@testing-library/react-hooks)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react-hooks
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react-hooks/versions/{version}