0

As far as I understand, declaring changeDetection: ChangeDetectionStrategy.OnPush on a component means that it will only update when one of its input values is changed specifically, rather than checking for changes when its parent(s) values change. If that is the case, why wouldn't OnPush be the default setting. Is there a case where we wouldn't want this behaviour?

SiddAjmera
  • 38,129
  • 5
  • 72
  • 110
abyrne85
  • 1,370
  • 16
  • 33

0 Answers0