Repository navigation
docs: the stepped response shows two parts arriving out of order and hydrating one at a time, on the home page too - #117
Merged
Conversation
…hydrating one at a time, on the home page too The figure that steps through one page load had a single slow part, so it could not show what out of order means, and it only sat halfway down the Introduction. It now uses the product page from "Why stream out of order": the recommendations sit above the reviews, which arrive first (1 s, then 3 s). Seven steps, Back and Next: the shell goes out and hydrates, the reviews' chunk arrives before the recommendations' and hydrates by itself while the recommendations are still a placeholder, then the recommendations arrive, the response ends, and they hydrate. Each part in the drawing names its block id, and the response shows d1's chunk before d0's, with `p` listing what is still on its way. The docs home page shows it under "What angular-ssr-stream does", where the demo's landing page used to, and "Why stream out of order" links to it. Closes #116
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #116.
The step-through of one page load came over from the demo's landing page in #96 as the
responsefigure. It had one slow part, so it couldn't show what out of order means, and it only appeared halfway down the Introduction.What changes
apps/docs/src/app/figures/response-player.ts) now uses the product page from "Why stream out of order". The recommendations sit above the reviews, the reviews take 1 s and the recommendations 3 s. You step through it with Back and Next, or by clicking a step:d0andd1.d1) arrive first, even though they're lower on the page. Their chunk'spsays the recommendations are still on their way.d0) arrive, carrydone: true, and the response ends.Checked
vp checkpasses andnx build docsprerenders every page.