RFC: Implement Streaming SSR and Server Components in Analog.js #1577
Replies: 2 comments
-
If you have a concrete use case, that would be better than implementing something purely for knowledge purposes |
Beta Was this translation helpful? Give feedback.
-
The perfect use case for this is loading a post with comments. The "post" data might be essential data for loading and for SEO (meta tags and schema), while comments are secondary and could be slow to resolve. You don't want the comments to slow down the rendering of the page... you can "progressively" load the page as soon as the data is ready. You also don't want to load the comments client side, as this could delay the JavaScript until everything is loaded hurting your TTFB and LCP as it is slower.
Also saw this about Angular HTTP, which is why maybe Analog needs this.
J |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Analog.js currently lacks support for streaming Server-Side Rendering (SSR) and server components, which imposes performance limitations compared to modern frameworks like Next.js. I am curious to know if this is due to Angular's architecture or if I might be missing something. My question is purely for knowledge purposes.
Beta Was this translation helpful? Give feedback.
All reactions