What problem does it solve?
This Skill helps you implement Angular state with the Signals model so UI updates remain predictable, efficient, and maintainable instead of relying on ad-hoc change detection or loosely managed reactive state.
Core Features & Use Cases
- Core Signal APIs: Use
signal() for writable state, computed() for derived state, and linkedSignal() for dependent state that can reset when inputs change.
- Side Effects with
effect(): Run side effects safely within Angular’s injection context and automatically clean them up on destroy.
- State Management Patterns: Apply component state patterns and service state patterns to structure app logic cleanly.
- RxJS Interop: Convert between Observables and Signals using
toSignal() and toObservable() for gradual migrations or mixed reactive systems.
- Correctness Controls: Use custom equality and
untracked() to prevent unnecessary recomputation while keeping dependencies accurate.
Quick Start
Apply the Angular Signals patterns to your component or service to model state with signal(), derive values with computed(), and trigger UI or side effects using effect() where appropriate.