Skip to content

Commit ed78fa0

Browse files
atscottamishne
authored andcommitted
fix(core): Remove note to skip arrow functions in best practices
Arrow functions are now supported and this note is no longer needed
1 parent 75c40e7 commit ed78fa0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

adev/src/context/guidelines.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ Here is a link to the most recent Angular style guide https://angular.dev/style-
111111
- Keep templates simple and avoid complex logic
112112
- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`
113113
- Do not assume globals like (`new Date()`) are available.
114-
- Do not write arrow functions in templates (they are not supported).
115114
- Use the async pipe to handle observables
116115
- Use built in pipes and import pipes when being used in a template, learn more https://angular.dev/guide/templates/pipes#
117116
- When using external templates/styles, use paths relative to the component TS file.

packages/core/resources/best-practices.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ You are an expert in TypeScript, Angular, and scalable web application developme
4646
- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`
4747
- Use the async pipe to handle observables
4848
- Do not assume globals like (`new Date()`) are available.
49-
- Do not write arrow functions in templates (they are not supported).
5049

5150
## Services
5251

0 commit comments

Comments
 (0)