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 difference between a pure and an impure pipe?

  1. A Pure pipes only re-run when the input reference changes; impure pipes run on every change detection cycle
  2. B Impure pipes are faster
  3. C Pure pipes cannot take arguments
  4. D There is no difference
Answer

Pure pipes only re-run when the input reference changes; impure pipes run on every change detection cycle

Impure pipes can run hundreds of times per second and are a common cause of performance problems. Pure pipes are the default.

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