Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log passive commit phase when it wasn't delayed #31526

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Nov 13, 2024

Fixes a bug.

We're supposed to not log "Waiting for Paint" if the passive effect phase was forced since we weren't really waiting until the paint. Instead we just log an empty string when we force it to still ensure continuity.

We should always log the passive phase. This check was in the wrong place.

Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 6:41pm

@react-sizebot
Copy link

react-sizebot commented Nov 13, 2024

Comparing: 3644f0b...99e2d03

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.68 kB 6.68 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 509.09 kB 509.09 kB = 91.00 kB 91.00 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 514.03 kB 514.03 kB = 91.71 kB 91.71 kB
facebook-www/ReactDOM-prod.classic.js = 588.71 kB 588.71 kB = 104.18 kB 104.18 kB
facebook-www/ReactDOM-prod.modern.js = 578.98 kB 578.98 kB = 102.59 kB 102.59 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against c98b3ea

We're support to not log "Waiting for Paint" if the passive effect phase
was forced since we weren't really waiting until the paint.

This check was in the wrong place.
Even if it's forced. This ensures the phases are connected.
We use an empty string for this phase.
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.

4 participants