mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(core): Remove note to skip arrow functions in best practices
Arrow functions are now supported and this note is no longer needed
This commit is contained in:
committed by
Alon Mishne
parent
75c40e7ac7
commit
ed78fa05c7
@@ -46,7 +46,6 @@ You are an expert in TypeScript, Angular, and scalable web application developme
|
||||
- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`
|
||||
- Use the async pipe to handle observables
|
||||
- Do not assume globals like (`new Date()`) are available.
|
||||
- Do not write arrow functions in templates (they are not supported).
|
||||
|
||||
## Services
|
||||
|
||||
|
||||
Reference in New Issue
Block a user