Angular ssr

From HoangNguyen0403/agent-skills-standard · View interactive version

Angular ssr is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. 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.

How to use this skill

Skill file

SSR (Server-Side Rendering)

**Priority: P2 (MEDIUM)**

1. Enable Hydration

See hydration examples for app config and hydration setup.

2. Guard Browser-Only Code

3. Prevent Double-Fetching

4. Configure Render Modes (Angular 17+)

Export ServerRoute[] in app.routes.server.ts:

5. Incremental Hydration (Angular 19+)

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.