mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(docs-infra): mark the update component as OnPush (#56254)
After inspecting and testing the adev-update-guide component it seems like it could be marked as OnPush. This change gets us closer to enabling zoneless for adev. PR Close #56254
This commit is contained in:
parent
b0546dad83
commit
f0ea936630
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import {Component, HostListener, inject} from '@angular/core';
|
||||
import {ChangeDetectionStrategy, Component, HostListener, inject} from '@angular/core';
|
||||
import {Step, RECOMMENDATIONS} from './recommendations';
|
||||
import {Clipboard} from '@angular/cdk/clipboard';
|
||||
import {CdkMenuModule} from '@angular/cdk/menu';
|
||||
|
|
@ -31,6 +31,7 @@ interface Option {
|
|||
IconComponent,
|
||||
],
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export default class AppComponent {
|
||||
protected title = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue