angular-ssr - Angular v20+ Server-Side Rendering and Hydration
Implement server-side rendering, hydration, prerendering, and browser API handling in Angular v20+ using @angular/ssr.
Tags
Updated: 2026-09-23Capabilities
What this skill does
- Add SSR to Angular projects
- Configure server route render modes
- Configure client and incremental hydration
- Enable event replay for hydration
- Safely execute browser-only code
- Configure static and dynamic prerendering
- Transfer HTTP cache state
- Build and run SSR server
Inputs
- Angular v20+ project
- @angular/ssr package
- Server route configurations
Outputs
- Express server file (server.ts)
- Server bootstrap file (src/main.server.ts)
- Server config file (src/app/app.config.server.ts)
- Client assets and server bundle build output
Requirements
- Angular v20+
- Node.js runtime
