interface Entry { value: boolean; } @Component({ standalone: true, changeDetection: ChangeDetectionStrategy.OnPush }) export class AppComponent { public entries = signal<Entry[]>( this.buildEntries( 100 ) ); public falseCount = computed( () => this.computeCount( false ) ); public trueCount = computed( () => this.computeCount( true ) ); }