changedetectionstrategy onpush vs default code example
Example: what is the difference between angular changedetection default and onpush stratergy
@Component({ changeDetection: ChangeDetectionStrategy.OnPush})
@Component({ changeDetection: ChangeDetectionStrategy.OnPush})