pluginagentmarketplace

performance

Angular performance optimization, change detection strategies, and bundle optimization

pluginagentmarketplace 5 2 Updated 5mo ago

Resources

3
GitHub

Install

npx skillscat add pluginagentmarketplace/custom-plugin-angular/performance

Install via the SkillsCat registry.

SKILL.md

Angular Performance Skill

Overview

Optimize Angular applications for maximum performance through change detection strategies, lazy loading, and bundle optimization techniques.

Topics Covered

Change Detection

  • OnPush change detection strategy
  • ChangeDetectorRef usage
  • Zone.js optimization
  • Zoneless Angular applications
  • Immutable data patterns

Bundle Optimization

  • Tree shaking effectiveness
  • Code splitting strategies
  • Lazy loading modules
  • Preloading strategies
  • Bundle analyzer usage

Runtime Performance

  • TrackBy for ngFor
  • Virtual scrolling
  • Debouncing and throttling
  • Memory leak prevention
  • Web Workers usage

Build Optimization

  • Production builds
  • AOT compilation benefits
  • Differential loading
  • Source map strategies
  • Compression techniques

Prerequisites

  • Angular Core fundamentals
  • Module architecture
  • Browser DevTools familiarity

Learning Outcomes

  • Implement OnPush change detection
  • Optimize bundle sizes
  • Profile and fix performance issues
  • Build highly performant applications