feat(challenge33): about performance

This commit is contained in:
thomas
2023-09-12 11:39:36 +02:00
parent 323c38e334
commit bc1c772820
23 changed files with 270 additions and 323 deletions

View File

@@ -1,13 +1,10 @@
import { CDFlashingDirective } from '@angular-challenges/shared/directives';
import { Component } from '@angular/core';
@Component({
selector: 'app-random',
standalone: true,
template: `I do nothing but I'm here: {{ count() }}`,
template: `<div cd-flash>I do nothing but I'm here</div>`,
imports: [CDFlashingDirective],
})
export class RandomComponent {
counter = 0;
count() {
return this.counter++;
}
}
export class RandomComponent {}