Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the purpose of the async pipe with OnPush change detection?

  1. A It disables change detection
  2. B It marks the component for check when the observable emits
  3. C It converts observables to promises
  4. D It caches HTTP responses
Answer

It marks the component for check when the observable emits

This combination is why async pipe and OnPush work well together, giving efficient updates without manual markForCheck calls.

All Angular MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as