What problem does it solve?
Angular performance issues like slow image loading, heavy bundles, and sluggish initial rendering cause poor user experience and weaker SEO. This Skill helps you apply modern Angular image optimization, lazy loading, and SSR/hydration patterns to reduce load time and runtime jank.
Core Features & Use Cases
- Optimized images: Use NgOptimizedImage with correct sizing, ngSrc, priority for LCP, and safe fill behavior to improve rendering stability.
- Lazy loading with @defer: Defer non-critical components using viewport/interaction/idle/timer/condition triggers with placeholders, loading states, and error handling.
- Performance-friendly rendering: Choose SSR vs CSR/SSG based on page intent and avoid layout thrash by not triggering reflows/repaints in Angular lifecycle hooks.
- Lazy routes: Load components and feature modules on demand to reduce initial bundle size and speed up navigation.
Quick Start
Apply NgOptimizedImage, convert heavy sections to @defer with an appropriate trigger, and use lazy-loaded routes for non-critical features in your Angular app.