Skip to content

Warn about unused Effect Events in dependency arrays - #38433

Open
cvasingh wants to merge 1 commit into
react:mainfrom
cvasingh:fix/exhaustive-deps-unused-effect-event
Open

cvasingh wants to merge 1 commit into
react:mainfrom
cvasingh:fix/exhaustive-deps-unused-effect-event

Conversation

@cvasingh

Copy link
Copy Markdown

Summary

Resolve Effect Event dependencies by their lexical binding even when the effect does not reference them.

How did you test this change?

The diagnostic regression failed in all 12 configurations on main. All 5,112 Hooks tests and the package TypeScript check passed with the fix.

@meta-cla meta-cla Bot added the CLA Signed label Nov 29, 2026
@github-actions

Copy link
Copy Markdown

A size report will appear here when the build finishes.

Generated by sizebot against be5bead

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant