You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instructions/angular.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Instructions for generating high-quality Angular applications with TypeScript, u
32
32
33
33
### Component Design
34
34
- Follow Angular's component lifecycle hooks best practices
35
-
- Use `@Input()` and `@Output()`for component communication
35
+
-When using Angular >= 19, Use `input()``output()`, `viewChild()`, `viewChildren()`, `contentChild()`and `viewChildren()`functions instead of decorators; otherwise use decorators
36
36
- Leverage Angular's change detection strategy (default or `OnPush` for performance)
37
37
- Keep templates clean and logic in component classes or services
38
38
- Use Angular directives and pipes for reusable functionality
0 commit comments