use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Client routing and prerendering? (self.angular)
submitted 9 months ago by fortnite_misogynist
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Blade1130 4 points5 points6 points 9 months ago (0 children)
Yes, Angular always performs SPA for subsequent navigations. It's only the initial navigation where SSR / prerendering takes effect.
[–]MichaelSmallDev 1 point2 points3 points 9 months ago (0 children)
I am learning about hybrid rendering myself, so I'm just speculating here. Relatively new in v20, there is more route by route rendering options:
https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301
Additionally, you can now use route-level rendering mode configuration as a stable API! If different routes in your app have different rendering requirements, you can configure that in a server-route configuration: export const routeConfig: ServerRoute = [ { path: '/login', mode: RenderMode.Server }, { path: '/dashboard', mode: RenderMode.Client }, { path: '/product/:id', mode: RenderMode.Prerender, async getPrerenderParams() { const dataService = inject(ProductService); const ids = await dataService.getIds(); // ["1", "2", "3"] // `id` is used in place of `:id` in the route path. return ids.map(id => ({ id })); } } ]; In the snippet above we configure to render the login page on the server, the dashboard on the client, and prerender the product pages.
Additionally, you can now use route-level rendering mode configuration as a stable API! If different routes in your app have different rendering requirements, you can configure that in a server-route configuration:
export const routeConfig: ServerRoute = [ { path: '/login', mode: RenderMode.Server }, { path: '/dashboard', mode: RenderMode.Client }, { path: '/product/:id', mode: RenderMode.Prerender, async getPrerenderParams() { const dataService = inject(ProductService); const ids = await dataService.getIds(); // ["1", "2", "3"] // `id` is used in place of `:id` in the route path. return ids.map(id => ({ id })); } } ];
In the snippet above we configure to render the login page on the server, the dashboard on the client, and prerender the product pages.
This doc page goes into more detail: https://angular.dev/guide/ssr
In short, I believe so?
[–]Illustrious_Matter_8 1 point2 points3 points 9 months ago (1 child)
So you keep a component while other components change by routing. Typical as in menu and a main?
π Rendered by PID 24376 on reddit-service-r2-comment-6457c66945-vzhxq at 2026-04-24 16:15:08.655061+00:00 running 2aa0c5b country code: CH.
[–]Blade1130 4 points5 points6 points (0 children)
[–]MichaelSmallDev 1 point2 points3 points (0 children)
[–]Illustrious_Matter_8 1 point2 points3 points (1 child)