A

Admin • 825.56K Points
Coach

Q. What is the main purpose of ChangeDetectionStrategy.OnPush?

  • (A) Runs change detection on every event
  • (B) Improves performance by reducing change detection cycles
  • (C) Disables change detection completely
  • (D) Works only with services

Explanation by: Admin
OnPush runs change detection only when input references change or events occur.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.