Implement Angular SSR with hydration, TransferState caching, and per-route render modes. Use when configuring Angular Universal SSR, client hydration, static prerendering, or preventing double-fetching.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
ng add @angular/ssr.provideClientHydration(withEventReplay()) to app.config.ts providers.See hydration examples for app config and hydration setup.
afterNextRender(() => { /* window access */ }) for one-time browser-only code.PLATFORM_ID and use isPlatformBrowser(platformId).withHttpTransferCacheOptions() or manual TransferState to cache server responses for client replay.Export ServerRoute[] in app.routes.server.ts:
@defer (hydrate on viewport).viewport, interaction, idle, timer(ms), immediate, never.withEventReplay() to capture user events before hydration completes.afterNextRender() or PLATFORM_ID check.withHttpTransferCacheOptions() or TransferState.RenderMode.Client for authenticated dashboards.405cdd5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.