Skip to content

[test] Add current behavior for faulty onDefaultTransitionIndicator implementation#35928

Open
eps1lon wants to merge 1 commit intofacebook:mainfrom
eps1lon:sebbie/02-28-_test_add_current_behavior_for_faulty_ondefaulttransitionindicator_implementation
Open

[test] Add current behavior for faulty onDefaultTransitionIndicator implementation#35928
eps1lon wants to merge 1 commit intofacebook:mainfrom
eps1lon:sebbie/02-28-_test_add_current_behavior_for_faulty_ondefaulttransitionindicator_implementation

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Feb 28, 2026

React catches these and forwards them to reportError not calling onUncaughtError. React won't unmount the root.

This feels like the right behavior. Maybe not calling onUncaughtError is debatable.

Was mostly interested if throwing from onUncaughtError would be caught at all.

@meta-cla meta-cla bot added the CLA Signed label Feb 28, 2026
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Feb 28, 2026
@react-sizebot
Copy link

Comparing: e0cc720...095d8a8

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 +0.05% 1.88 kB 1.88 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 611.79 kB 611.80 kB = 108.12 kB 108.11 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB +0.05% 1.88 kB 1.88 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 677.72 kB 677.73 kB = 119.08 kB 119.08 kB
facebook-www/ReactDOM-prod.classic.js +0.11% 697.72 kB 698.45 kB +0.14% 122.59 kB 122.76 kB
facebook-www/ReactDOM-prod.modern.js +0.11% 688.03 kB 688.77 kB +0.15% 120.97 kB 121.15 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 095d8a8

@eps1lon eps1lon requested a review from rickhanlonii February 28, 2026 17:35
@eps1lon eps1lon marked this pull request as ready for review February 28, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants