Angular Best Practices

0•

Optimizes Angular applications by implementing modern performance patterns, Signal-based state management, and efficient rendering strategies.

This skill provides Claude with a comprehensive framework for writing, reviewing, and refactoring Angular code according to industry-leading standards. It prioritizes critical performance optimizations including Signal-based change detection, the elimination of async waterfalls using RxJS, and bundle size reduction via lazy loading and @defer blocks. Whether you are building a new application or refactoring a legacy codebase, this skill ensures your Angular projects leverage the latest features like zoneless change detection and incremental hydration for maximum efficiency and speed.

主要功能

01Signal-based change detection and OnPush strategy implementation
02Async operation optimization to eliminate data-fetching waterfalls
03Bundle size reduction via @defer blocks and lazy loading
04Efficient list rendering using trackBy, virtual scrolling, and pure pipes
05Advanced SSR configuration with incremental hydration and TransferState
060 GitHub stars

使用场景

01Refactoring legacy RxJS-heavy components to modern Angular Signals
02Auditing application performance to identify and fix rendering bottlenecks
03Implementing advanced SSR and hydration strategies for better SEO and LCP