Gregster
Gregster

Reputation: 49

Angular 19: Prerendered page with dynamic components in it

I am having the landing home page which is likely to be prerendered, but it contains section with products categories which are gotten from BE API, so in this case that section cannot be completely prerendered.
Is there a way to prerender the full page and put something like "ng-content"(roughly saying) inside to render dynamically categories section component part, while all other page content is prerendered.

In this case i see only single solution is just to use general SSR for for full page to enable reactivity, SEO optimization and etc.

Upvotes: 0

Views: 125

Answers (0)

Related Questions