mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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:
committed by
Jessica Janiuk
parent
b0546dad83
commit
f0ea936630
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user