GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [Fizz] Fix root segment IDs by sebmarkbage · Pull Request #27371 · react/react Conversation
Contributor
Typically we assign IDs lazily when flushing to minimize the ids we have to assign and we try to maximize inlining. When we prerender we could always flush into a buffer before returning but that's not actually what we do right now. We complete rendering before returning but we don't actually run the flush path until someone reads the resulting stream. We assign IDs eagerly when something postpone so that we can refer to those ids in the holes without flushing first. This leads to some interesting conditions that needs to consider this. This PR also deals with rootSegmentId which is the ID of the segment that contains the body of a Suspense boundary. The boundary needs to know this in addition to the Suspense Boundary's ID to know how to inject the root segment into the boundary. Why is the suspense boundary ID and the rootSegmentID just not the same ID? Why don't segments and suspense boundary not share ID namespace? That's a good question and I don't really remember. It might not be a good reason and maybe they should just be the same.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
acdlite
approved these changes
github-actions Bot
pushed a commit
that referenced
this pull request
Typically we assign IDs lazily when flushing to minimize the ids we have to assign and we try to maximize inlining. When we prerender we could always flush into a buffer before returning but that's not actually what we do right now. We complete rendering before returning but we don't actually run the flush path until someone reads the resulting stream. We assign IDs eagerly when something postpone so that we can refer to those ids in the holes without flushing first. This leads to some interesting conditions that needs to consider this. This PR also deals with rootSegmentId which is the ID of the segment that contains the body of a Suspense boundary. The boundary needs to know this in addition to the Suspense Boundary's ID to know how to inject the root segment into the boundary. Why is the suspense boundary ID and the rootSegmentID just not the same ID? Why don't segments and suspense boundary not share ID namespace? That's a good question and I don't really remember. It might not be a good reason and maybe they should just be the same. DiffTrain build for [a6e4791](a6e4791)
acdlite
added a commit
to acdlite/next.js
that referenced
this pull request
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
### 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
Typically we assign IDs lazily when flushing to minimize the ids we have to assign and we try to maximize inlining. When we prerender we could always flush into a buffer before returning but that's not actually what we do right now. We complete rendering before returning but we don't actually run the flush path until someone reads the resulting stream. We assign IDs eagerly when something postpone so that we can refer to those ids in the holes without flushing first. This leads to some interesting conditions that needs to consider this. This PR also deals with rootSegmentId which is the ID of the segment that contains the body of a Suspense boundary. The boundary needs to know this in addition to the Suspense Boundary's ID to know how to inject the root segment into the boundary. Why is the suspense boundary ID and the rootSegmentID just not the same ID? Why don't segments and suspense boundary not share ID namespace? That's a good question and I don't really remember. It might not be a good reason and maybe they should just be the same.
bigfootjon
pushed a commit
that referenced
this pull request
Typically we assign IDs lazily when flushing to minimize the ids we have to assign and we try to maximize inlining. When we prerender we could always flush into a buffer before returning but that's not actually what we do right now. We complete rendering before returning but we don't actually run the flush path until someone reads the resulting stream. We assign IDs eagerly when something postpone so that we can refer to those ids in the holes without flushing first. This leads to some interesting conditions that needs to consider this. This PR also deals with rootSegmentId which is the ID of the segment that contains the body of a Suspense boundary. The boundary needs to know this in addition to the Suspense Boundary's ID to know how to inject the root segment into the boundary. Why is the suspense boundary ID and the rootSegmentID just not the same ID? Why don't segments and suspense boundary not share ID namespace? That's a good question and I don't really remember. It might not be a good reason and maybe they should just be the same. DiffTrain build for commit a6e4791.
hanzo-dev
pushed a commit
to hanzoai/react
that referenced
this pull request
Typically we assign IDs lazily when flushing to minimize the ids we have to assign and we try to maximize inlining. When we prerender we could always flush into a buffer before returning but that's not actually what we do right now. We complete rendering before returning but we don't actually run the flush path until someone reads the resulting stream. We assign IDs eagerly when something postpone so that we can refer to those ids in the holes without flushing first. This leads to some interesting conditions that needs to consider this. This PR also deals with rootSegmentId which is the ID of the segment that contains the body of a Suspense boundary. The boundary needs to know this in addition to the Suspense Boundary's ID to know how to inject the root segment into the boundary. Why is the suspense boundary ID and the rootSegmentID just not the same ID? Why don't segments and suspense boundary not share ID namespace? That's a good question and I don't really remember. It might not be a good reason and maybe they should just be the same.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |