Our filter is changed water but it’s still the same water. Angular pipes work in a similar way. We take our data put them in an angular pipe, then pipe change it and the user sees data in a different way.
Angular has some in-built pipes along with giving us a way to build custom pipes. One of the in-built pipes is JsonPipe. In this article, I would like to walk you through the implementation of this simple JsonPipe.
This article explains how pure Angular pipe is related to pure functions, what advantages pure pipes brings and how it's implemented under the hood.