Angular · Middle · Question 44 of 75

What is the difference between pure and impure pipes?

Explanation

Pipes are pure by default, which makes them cheap. pure: false is needed when the output depends on internal mutations (like async), but it is costly when the work is heavy.

Further reading

Problem with a question

Angular · Middle · question 44

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz