npm package
Homereact-shallow-renderer
react-shallow-renderer is a React package designed for shallow rendering of components, allowing developers to test components in isolation without rendering child components. It is particularly useful for unit testing where you want to assert the output of a component's render method without the complexity of a full DOM. This package is ideal for scenarios where you need to verify the structure of a component's output.
- lurq health score
- 42/100
- Confidence
- unproven
- Weekly downloads
- 3,317,517
- Latest version
- 16.15.0
- Last release
- Oct 21, 2020
- License
- MIT
Should you depend on react-shallow-renderer?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks react-shallow-renderer at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading react-shallow-renderer
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.1.4 → 16.15.0being extracted
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @nestjs/testing93/100 · proven
- @middy/util93/100 · proven
- mocha91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.