What problem does it solve?
This Skill provides practical guidance for implementing modern Angular core patterns, including standalone components, signals, inject usage, and zoneless workflows, enabling developers to build scalable and maintainable apps with predictable state.
Core Features & Use Cases
- Standalone Components: Learn how components are standalone by default and why you should not set standalone: true in the decorator.
- Signals for State: Use signal, computed, and effect to model reactive state without mutating class fields.
- inject() Over Constructor: Prefer inject() for dependencies to keep constructors lightweight and testable.
- Zoneless Angular: Apply provideZonelessChangeDetection() with OnPush to reduce zone-related overhead and improve performance.
- Native Control Flow: Leverage template syntax like @if, @for, and @switch to implement complex UI logic without extra boilerplate.
Quick Start
Use this skill to scaffold a minimal zoneless Angular component that uses signals for state and inject for dependencies.