Question · Angular course · Module 14: Advanced Patterns
Pure vs Impure Pipe
What is the difference between a pure and an impure pipe?
Answer options
- A pure pipe is faster to write
- A pure pipe runs only when the input reference changes, while an impure pipe runs on every change detection
- An impure pipe can use DI
- A pure pipe is deprecated
You can check the correct answer by solving this task in the CodeWorlds game.