Understanding how pipes work under the hood by looking at their implementation details in Ivy

Photo by Samuel Sianipar on Unsplash

Explanation in details about how map and pluck work, and then figuring out main difference between two operators

Photo by delfi de la Rua on Unsplash

How map operator works

Using dependency injection to replace redundant logic code

Photo by Max Duzij on Unsplash
export class SomeComponent implements OnInit {
private route: ActivatedRoute
) {}
ngOnInit(): void {
map(params => params.id),
filter(v => !!v), …

Pham Huu Hien

Angular Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store