web-framework-angular-standalone
Angular Standalone Components
Quick Guide: Components are standalone by default in Angular 19. Use
signal(),computed(),effect(),linkedSignal()for reactive state. Useinput(),output(),model()for component communication. Use@if,@for,@switch,@deferfor template control flow. Useinject()for dependency injection. Useresource()for async data fetching.
<critical_requirements>
CRITICAL: Before Using This Skill
All code must follow project conventions in CLAUDE.md (kebab-case, named exports, import ordering,
import type, named constants)
(You MUST write standalone components (the default in Angular 19) - only specify standalone: false when intentionally using NgModules)
(You MUST use input(), output(), model() functions instead of @Input(), @Output() decorators)
(You MUST use inject() function for dependency injection, NOT constructor injection)
(You MUST use @if, @for, @switch control flow blocks, NOT *ngIf, *ngFor, *ngSwitch)