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] Split createRequest into createRequest, createPrerenderRequest and resumeRequest by sebmarkbage · Pull Request #27342 · react/react

Conversation

@sebmarkbage

@sebmarkbage sebmarkbage commented Sep 7, 2023

Copy link
Copy Markdown
Contributor

Just moving some internal code around again.

I originally encoded what type of work using startRender vs startPrerender. I had intended to do more forking of the work loop but we've decided not to go with that strategy. It also turns out that forking when we start working is actually too late because of a subtle thing where you can call abort before work begins. Therefore it's important that starting the work comes later.

Sorry, something went wrong.

Uh oh!

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

All reactions
sebmarkbage added 2 commits September 6, 2023 22:07
@sebmarkbage
Revert startRender/startPrerender to startWork
ccb8c47
This split isn't going to work after all. Need to be at the create layer.
@sebmarkbage
Split createRequest into createRequest, createPrerenderRequest and re…
c4459cb
…sumeRequest

This is what encodes what type of work we'll do.
@sebmarkbage
sebmarkbage requested review from acdlite and gnoff September 7, 2023 02:27
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Sep 7, 2023
@react-sizebot

react-sizebot commented Sep 7, 2023

Copy link
Copy Markdown

Comparing: ee7f9c9...c4459cb

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.min.js = 165.63 kB 165.63 kB = 51.88 kB 51.88 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 174.70 kB 174.70 kB = 54.61 kB 54.61 kB
facebook-www/ReactDOM-prod.classic.js = 570.44 kB 570.44 kB = 100.45 kB 100.45 kB
facebook-www/ReactDOM-prod.modern.js = 554.21 kB 554.21 kB = 97.61 kB 97.61 kB
oss-stable-semver/react-server/cjs/react-server.production.min.js +3.20% 25.91 kB 26.74 kB +1.54% 8.78 kB 8.92 kB
oss-stable/react-server/cjs/react-server.production.min.js +3.20% 25.91 kB 26.74 kB +1.54% 8.78 kB 8.92 kB
oss-experimental/react-server/cjs/react-server.production.min.js +2.96% 27.99 kB 28.82 kB +1.43% 9.39 kB 9.52 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable-semver/react-server/cjs/react-server.production.min.js +3.20% 25.91 kB 26.74 kB +1.54% 8.78 kB 8.92 kB
oss-stable/react-server/cjs/react-server.production.min.js +3.20% 25.91 kB 26.74 kB +1.54% 8.78 kB 8.92 kB
oss-experimental/react-server/cjs/react-server.production.min.js +2.96% 27.99 kB 28.82 kB +1.43% 9.39 kB 9.52 kB
oss-stable-semver/react-server/cjs/react-server.development.js +1.43% 150.33 kB 152.48 kB +0.32% 37.43 kB 37.55 kB
oss-stable/react-server/cjs/react-server.development.js +1.43% 150.33 kB 152.48 kB +0.32% 37.43 kB 37.55 kB
oss-experimental/react-server/cjs/react-server.development.js +1.33% 161.31 kB 163.46 kB +0.36% 40.12 kB 40.26 kB
oss-experimental/react-dom/cjs/react-dom-server.browser.production.min.js +1.14% 68.21 kB 68.99 kB +0.55% 20.89 kB 21.00 kB
oss-experimental/react-dom/umd/react-dom-server.browser.production.min.js +1.14% 68.34 kB 69.12 kB +0.53% 21.16 kB 21.27 kB
oss-experimental/react-dom/cjs/react-dom-server.edge.production.min.js +1.07% 72.67 kB 73.45 kB +0.57% 22.38 kB 22.51 kB
oss-experimental/react-dom/cjs/react-dom-server.node.production.min.js +1.00% 72.99 kB 73.72 kB +0.57% 22.56 kB 22.69 kB
oss-experimental/react-dom/cjs/react-dom-server.browser.development.js +0.55% 369.45 kB 371.47 kB +0.15% 82.39 kB 82.52 kB
oss-experimental/react-dom/cjs/react-dom-server.edge.development.js +0.55% 369.86 kB 371.88 kB +0.15% 82.51 kB 82.64 kB
oss-experimental/react-dom/cjs/react-dom-server.node.development.js +0.54% 370.75 kB 372.76 kB +0.14% 82.71 kB 82.83 kB
oss-experimental/react-dom/umd/react-dom-server.browser.development.js +0.54% 387.07 kB 389.16 kB +0.17% 83.28 kB 83.42 kB
oss-experimental/react-noop-renderer/cjs/react-noop-renderer-flight-server.production.min.js = 1.31 kB 1.30 kB = 0.62 kB 0.62 kB
oss-stable-semver/react-noop-renderer/cjs/react-noop-renderer-flight-server.production.min.js = 1.31 kB 1.30 kB = 0.62 kB 0.62 kB
oss-stable/react-noop-renderer/cjs/react-noop-renderer-flight-server.production.min.js = 1.31 kB 1.30 kB = 0.62 kB 0.62 kB

Generated by 🚫 dangerJS against c4459cb

All reactions

Sorry, something went wrong.

Uh oh!

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

gnoff
gnoff approved these changes Sep 7, 2023
View reviewed changes
@sebmarkbage
sebmarkbage merged commit 953cb02 into react:main Sep 7, 2023
github-actions Bot pushed a commit that referenced this pull request Sep 7, 2023
@sebmarkbage
[Fizz] Split createRequest into createRequest, createPrerenderRequest…
5b220d1
… and resumeRequest (#27342)

Just moving some internal code around again.

I originally encoded what type of work using startRender vs
startPrerender. I had intended to do more forking of the work loop but
we've decided not to go with that strategy. It also turns out that
forking when we start working is actually too late because of a subtle
thing where you can call abort before work begins. Therefore it's
important that starting the work comes later.

DiffTrain build for [953cb02](953cb02)
@acdlite acdlite mentioned this pull request Sep 14, 2023
Update React from dd480ef92 to d6dcad6a8. vercel/next.js#55399
Merged
acdlite added a commit to acdlite/next.js that referenced this pull request Sep 14, 2023
@acdlite
Update React from dd480ef92 to d6dcad6a8.
7e8e320
React upstream changes:

- react/react#27374
- react/react#27369
- react/react#27372
- react/react#27371
- react/react#27370
- react/react#27321
- react/react#27368
- react/react#27367
- react/react#27366
- react/react#27360
- react/react#27361
- react/react#27357
- react/react#27359
- react/react#27358
- react/react#27330
- react/react#27347
- react/react#27307
- react/react#27346
- react/react#27342
- react/react#27340
- react/react#27328
- react/react#27327
- react/react#27325
- react/react#27337
- react/react#27336
- react/react#27323
- react/react#27320
- react/react#27317
- react/react#27318
- react/react#27316
- react/react#27313
- react/react#27309
- react/react#27302
- react/react#27297
- react/react#27295
- react/react#27305
- react/react#27215
- react/react#27304
- react/react#27067
- react/react#27179
- react/react#27278
- react/react#27277
- react/react#27282
- react/react#27230
- react/react#27260
- react/react#27270
- react/react#27273
- react/react#27268
- react/react#27269
kodiakhq Bot pushed a commit to vercel/next.js that referenced this pull request Sep 14, 2023
@acdlite
Update React from dd480ef92 to d6dcad6a8. (#55399)
6f2e9ae
### React upstream changes:

- react/react#27374
- react/react#27369
- react/react#27372
- react/react#27371
- react/react#27370
- react/react#27321
- react/react#27368
- react/react#27367
- react/react#27366
- react/react#27360
- react/react#27361
- react/react#27357
- react/react#27359
- react/react#27358
- react/react#27330
- react/react#27347
- react/react#27307
- react/react#27346
- react/react#27342
- react/react#27340
- react/react#27328
- react/react#27327
- react/react#27325
- react/react#27337
- react/react#27336
- react/react#27323
- react/react#27320
- react/react#27317
- react/react#27318
- react/react#27316
- react/react#27313
- react/react#27309
- react/react#27302
- react/react#27297
- react/react#27295
- react/react#27305
- react/react#27215
- react/react#27304
- react/react#27067
- react/react#27179
- react/react#27278
- react/react#27277
- react/react#27282
- react/react#27230
- react/react#27260
- react/react#27270
- react/react#27273
- react/react#27268
- react/react#27269
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
@sebmarkbage @AndyPengc12
[Fizz] Split createRequest into createRequest, createPrerenderRequest…
a364e60
… and resumeRequest (react#27342)

Just moving some internal code around again.

I originally encoded what type of work using startRender vs
startPrerender. I had intended to do more forking of the work loop but
we've decided not to go with that strategy. It also turns out that
forking when we start working is actually too late because of a subtle
thing where you can call abort before work begins. Therefore it's
important that starting the work comes later.
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
@sebmarkbage
[Fizz] Split createRequest into createRequest, createPrerenderRequest…
d3c09be
… and resumeRequest (#27342)

Just moving some internal code around again.

I originally encoded what type of work using startRender vs
startPrerender. I had intended to do more forking of the work loop but
we've decided not to go with that strategy. It also turns out that
forking when we start working is actually too late because of a subtle
thing where you can call abort before work begins. Therefore it's
important that starting the work comes later.

DiffTrain build for commit 953cb02.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@sebmarkbage
[Fizz] Split createRequest into createRequest, createPrerenderRequest…
da443e4
… and resumeRequest (react#27342)

Just moving some internal code around again.

I originally encoded what type of work using startRender vs
startPrerender. I had intended to do more forking of the work loop but
we've decided not to go with that strategy. It also turns out that
forking when we start working is actually too late because of a subtle
thing where you can call abort before work begins. Therefore it's
important that starting the work comes later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gnoff gnoff gnoff approved these changes
@acdlite acdlite Awaiting requested review from acdlite

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

@sebmarkbage @react-sizebot @gnoff @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.