React Identity Stability
Tracks reference stability of props and dependencies — unmemoized objects/arrays/functions passed across render boundaries.
Reference identity drives Reacts memo and dependency-array semantics. An object literal recreated every render forces every downstream memo, useMemo, useEffect, and useCallback that depends on it to invalidate, defeating the optimization. This analysis flags places where identity stability is likely broken.
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.