GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Fizz] use microtasks rather than tasks when scheduling work while prerendering by gnoff · Pull Request #30770 · react/react

Conversation

@gnoff

@gnoff gnoff commented Aug 21, 2024

Copy link
Copy Markdown
Collaborator

Similar to #30768 we want to schedule work during prerendering in microtasks both for the root task and pings. We continue to schedule flushes as Tasks to allow as much work to be batched up as possible.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gnoff
[Fizz] use microtasks rather than tasks when scheduling work while pr…
6d561d9
…erendering

Similar to react#30768 we want to schedule work during prerendering in microtasks both for the root task and pings. We continue to schedule flushes as Tasks to allow as much work to be batched up as possible.
@vercel

vercel Bot commented Aug 21, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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 Aug 21, 2024 5:09am
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 21, 2024
@gnoff
gnoff requested a review from sebmarkbage August 21, 2024 05:07
@vercel
vercel Bot deployed to Preview August 21, 2024 05:09
View deployment
@react-sizebot

react-sizebot commented Aug 21, 2024

Copy link
Copy Markdown

Comparing: dc32c7f35ed6699e302dc7dbae17804555c669c6...9e8392c8adbe33e01aa3fe2c9217100d19605bd9

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 +0.05% 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 500.37 kB 500.37 kB = 89.80 kB 89.80 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 = 507.50 kB 507.50 kB = 90.96 kB 90.96 kB
facebook-www/ReactDOM-prod.classic.js = 595.24 kB 595.24 kB = 105.55 kB 105.55 kB
facebook-www/ReactDOM-prod.modern.js = 571.54 kB 571.54 kB = 101.75 kB 101.75 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable-rc/react-dom/cjs/react-dom-server.edge.production.js +0.35% 220.84 kB 221.62 kB +0.43% 41.22 kB 41.40 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.production.js +0.35% 220.84 kB 221.62 kB +0.43% 41.22 kB 41.40 kB
oss-stable/react-dom/cjs/react-dom-server.edge.production.js +0.35% 220.91 kB 221.68 kB +0.43% 41.25 kB 41.42 kB
oss-experimental/react-dom/cjs/react-dom-server.edge.production.js +0.31% 248.33 kB 249.11 kB +0.41% 44.58 kB 44.77 kB
oss-stable-rc/react-dom/cjs/react-dom-server.browser.production.js +0.28% 215.96 kB 216.55 kB +0.41% 39.35 kB 39.51 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.production.js +0.28% 215.96 kB 216.55 kB +0.41% 39.35 kB 39.51 kB
oss-stable/react-dom/cjs/react-dom-server.browser.production.js +0.27% 216.02 kB 216.62 kB +0.41% 39.38 kB 39.54 kB
oss-stable-rc/react-server/cjs/react-server.production.js +0.26% 107.48 kB 107.75 kB +0.15% 19.74 kB 19.77 kB
oss-stable-semver/react-server/cjs/react-server.production.js +0.26% 107.48 kB 107.75 kB +0.15% 19.74 kB 19.77 kB
oss-stable/react-server/cjs/react-server.production.js +0.26% 107.48 kB 107.75 kB +0.15% 19.74 kB 19.77 kB
oss-stable-rc/react-dom/cjs/react-dom-server.edge.development.js +0.25% 357.08 kB 357.96 kB +0.26% 65.32 kB 65.49 kB
oss-stable-semver/react-dom/cjs/react-dom-server.edge.development.js +0.25% 357.08 kB 357.96 kB +0.26% 65.32 kB 65.49 kB
oss-stable/react-dom/cjs/react-dom-server.edge.development.js +0.25% 357.15 kB 358.03 kB +0.27% 65.34 kB 65.52 kB
oss-experimental/react-dom/cjs/react-dom-server.browser.production.js +0.24% 242.88 kB 243.48 kB +0.39% 42.60 kB 42.77 kB
oss-experimental/react-server/cjs/react-server.production.js +0.23% 120.88 kB 121.16 kB +0.14% 21.63 kB 21.66 kB
oss-experimental/react-dom/cjs/react-dom-server.edge.development.js +0.22% 396.72 kB 397.60 kB +0.24% 69.64 kB 69.81 kB

Generated by 🚫 dangerJS against 6d561d9

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sebmarkbage
sebmarkbage approved these changes Aug 21, 2024
View reviewed changes
@gnoff
gnoff merged commit ab24f64 into react:main Aug 21, 2024
@gnoff
gnoff deleted the fizz-prerender-timing branch August 21, 2024 14:55
github-actions Bot pushed a commit that referenced this pull request Aug 21, 2024
@gnoff
[Fizz] use microtasks rather than tasks when scheduling work while pr…
d533aef
…erendering (#30770)

Similar to #30768 we want to
schedule work during prerendering in microtasks both for the root task
and pings. We continue to schedule flushes as Tasks to allow as much
work to be batched up as possible.

DiffTrain build for [ab24f64](ab24f64)
@eps1lon eps1lon mentioned this pull request Aug 22, 2024
Update React from 1eaccd82-20240816 to eb3ad065-20240822 vercel/next.js#69196
Merged
eps1lon added a commit to vercel/next.js that referenced this pull request Aug 23, 2024
@eps1lon
Update React from 1eaccd82-20240816 to eb3ad065-20240822 (#69196)
6c09bd9
**breaking change for canary users: Bumps peer dependency of React from
`19.0.0-rc-1eaccd82-20240816` to `19.0.0-rc-eb3ad065-20240822`**

No changes required in Next.js it seems.

[diff
react/react@1eaccd82...eb3ad065](react/react@1eaccd8...eb3ad06)
<details>
<summary>React upstream changes</summary>

- react/react#30761
- react/react#30779
- react/react#30775
- react/react#30770
- react/react#30756
- react/react#30755
- react/react#30768
- react/react#30760
- react/react#30732
- react/react#30757
- react/react#30750
- react/react#30751
- react/react#30753
- react/react#30740
- react/react#30748
- react/react#30746
- react/react#30747
- react/react#30731
- react/react#30725
- react/react#30741
- react/react#30730
- react/react#30726
- react/react#30717
- react/react#30729
- react/react#30721
- react/react#30720
- react/react#30705

</details>
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@gnoff
[Fizz] use microtasks rather than tasks when scheduling work while pr…
7406f63
…erendering (react#30770)

Similar to react#30768 we want to
schedule work during prerendering in microtasks both for the root task
and pings. We continue to schedule flushes as Tasks to allow as much
work to be batched up as possible.

This branch was successfully deployed

1 active deployment
Preview — 6d561d96 Deployed Aug 21, 2024 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@sebmarkbage sebmarkbage sebmarkbage approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@gnoff @react-sizebot @sebmarkbage @facebook-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.