Q. How can you optimize Angular app performance by avoiding unnecessary change detection?
β
Correct Answer: (A)
Use ChangeDetectionStrategy.OnPush
Explanation: OnPush strategy checks for changes only when input properties change.