Added the menu category delete route. Fix: Show blank vouchers in tables Fix: In rare cases, the old settements can stick around. fixed it.
812 B
812 B
name, description
| name | description |
|---|---|
| angular-signals | Writes modern Angular code using Standalone Components and Signals. Use whenever generating frontend UI or state logic. |
Modern Angular Standards
Architecture
- NEVER generate or use
NgModule. - ALL components, directives, and pipes must be
standalone: true.
State Management (Signals)
- Prefer Angular Signals (
signal(),computed(),effect()) for synchronous, local component state instead ofBehaviorSubject. - Use the new Signal-based inputs and outputs:
input()andoutput()instead of@Input()and@Output(). - Use standard RxJS strictly for asynchronous streams (e.g., HTTP requests, router events).
Control Flow
- Use the new built-in control flow (
@if,@for,@switch) instead of structural directives (*ngIf,*ngFor).