Skip to main content

React analyzer

React Technical Debt

Tracks technical-debt signals specific to React: deprecated patterns, dead components, untyped props, missing default exports.

technical-debt react-technical-debt

React Technical Debt

Tracks technical-debt signals specific to React: deprecated patterns, dead components, untyped props, missing default exports.

React-specific technical debt accumulates in distinct ways: unused components left in the tree, components with no PropTypes or TypeScript types, default exports that prevent tree-shaking, and patterns from earlier React versions that have better modern equivalents. This analysis tracks these signals.

Severity guide

info
A signal worth being aware of but not requiring action.
warning
A pattern likely to cause subtle bugs or performance issues; refactor recommended.
critical
A pattern actively breaking expected behavior or contracts; fix immediately.

Remediation

Address the flagged pattern; the message field describes the specific instance.

Review the issue location and apply the React/Next.js best practice for the pattern. Each emission carries enough context to act on directly.

Documentation