Skip to content

[eprh] Check for namespaced useEffectEvent#35901

Open
chirokas wants to merge 1 commit intofacebook:mainfrom
chirokas:eprh/check-for-namespaced-useeffectevent
Open

[eprh] Check for namespaced useEffectEvent#35901
chirokas wants to merge 1 commit intofacebook:mainfrom
chirokas:eprh/check-for-namespaced-useeffectevent

Conversation

@chirokas
Copy link
Contributor

@chirokas chirokas commented Feb 25, 2026

Summary

Previously, we only checked for useEffectEvent but we should also check for the namespaced version, React.useEffectEvent.

How did you test this change?

Added unit test.

@meta-cla meta-cla bot added the CLA Signed label Feb 25, 2026
@react-sizebot
Copy link

Comparing: e33071c...b4946cd

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 611.80 kB 611.80 kB = 108.11 kB 108.11 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 677.73 kB 677.73 kB = 119.08 kB 119.08 kB
facebook-www/ReactDOM-prod.classic.js = 698.45 kB 698.45 kB = 122.76 kB 122.76 kB
facebook-www/ReactDOM-prod.modern.js = 688.77 kB 688.77 kB = 121.15 kB 121.15 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against b4946cd

@chirokas chirokas marked this pull request as ready for review February 25, 2026 08:57
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.

2 participants