Repository navigation
docs: Analog's streaming SSR compared with this library, from one page sent through both - #107
Merged
Merged
Conversation
…e sent through both A guide next to the React one. It sends the page of Analog's example app through Analog 3.0.0 and through this library, and reads the two responses: what each sends first, what a @defer block waits for, where it lands, when the page hydrates and how each reaches into Angular. It also says that httpResource() holds the shell back here, which the same page showed: only direct HttpClient requests stream.
This was referenced Nov 28, 2026
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.
A new guide in the docs app, next to the React one: Analog's streaming SSR, compared (
docs/guides/analog-streaming-ssr).Analog has an experimental streaming renderer of its own,
renderStream(). It and this library mark slow parts the same way, a@deferblock with ahydratetrigger, and differ in what goes over the wire. The page sends the page of Analog's own example app through both and reads the two responses.What the page says
@angular/corethere, private APIs at runtime here).Everything about Analog is from 3.0.0. Quotes are verbatim from its docs and RFC, and source links are pinned to the
v3.0.0tag.How the responses were recorded
experimental.streamingand served by its Nitro Node server.main, with the Node adapter, rendering the same components.fetch(), noting when every read arrived.Two things differ between the two apps, and the page says so: here each block is wrapped in a
<div>, and the slow block loads its data withHttpClient.get().Something this turned up
The same page with
httpResource()in the slow block did not stream here: it was sent in one piece once the data was in. Aresource()is a pending task, and the shell waits forwhenStable(). The page states this and points toinject(HttpClient).get(). The library is unchanged; whether to follow resources is a separate question.Also
nav.ts, so it is in the sidebar, the sitemap andllms.txt.Checked
vp checkandnx build docspass, which covers the page's relative links and heading anchors.