Open in app

Sign In

Write

Sign In

Pham Huu Hien
Pham Huu Hien

80 Followers

Home

About

Published in Nerd For Tech

·May 24, 2021

How pure and impure pipes work in Angular Ivy

Understanding how pipes work under the hood by looking at their implementation details in Ivy — Angular’s piping mechanism is something Angular developers use everyday. There’s an excellent article that explores pipes in depth, and the gist of the article is the following: When pipe is pure, transform() method is invoked only when its input arguments change. Pipes are pure by default. If the pipe has internal…

Angular

5 min read

How pure and impure pipes work in Angular Ivy
How pure and impure pipes work in Angular Ivy
Angular

5 min read


Dec 23, 2020

Subtle difference between map and pluck RxJS operators that you should know

Explanation in details about how map and pluck work, and then figuring out main difference between two operators — Do you think the following code snippet will give the same result? Well, the answer is: not really. Let’s take a closer look to see the subtle difference. How map operator works According to the official documentation, here’s what map operator does Applies a given project function to each value emitted by the…

Rxjs

3 min read

Subtle difference between map and pluck RxJS operators that you should know
Subtle difference between map and pluck RxJS operators that you should know
Rxjs

3 min read


Dec 14, 2020

How to turn on Angular Debug Tools to measure change detection cycle time

Angular has a tool that helps developers to measure how long will it take for a change detection cycle on average for a specific screen in your Angular application, but it is turned off by default. Turn on Angular Debug Tools To turn this feature on, just make a small change in your main.ts …

Angular

2 min read

How to turn on Angular Debug Tools to measure change detection cycle time
How to turn on Angular Debug Tools to measure change detection cycle time
Angular

2 min read


Dec 11, 2020

How to reduce duplicated code by using dependency injection in Angular

Using dependency injection to replace redundant logic code — In my current project, there’s a block of code that is used in many places. The code looks like this @Component({ ... }) export class SomeComponent implements OnInit { constructor( private route: ActivatedRoute ) {} ngOnInit(): void { this.route.params.pipe( takeUntil(this.destroy$), map(params => params.id), filter(v => !!v), …

Dependency Injetion

2 min read

How to reduce duplicated code by using dependency injection in Angular
How to reduce duplicated code by using dependency injection in Angular
Dependency Injetion

2 min read


Jul 20, 2020

How to create recurring event date picker in Angular

In this article, I will show you how to create a recurring event date picker form based on options input by user. From the form, user can select the start date and end date, the frequency they want an event will repeat, e.g. daily, weekly or monthly. …

Recurring Events

4 min read

How to create recurring event date picker in Angular
How to create recurring event date picker in Angular
Recurring Events

4 min read


Jul 6, 2020

How to create drag and drop accordion list in Angular

In this article, I’d like to share with you how to create a list of accordion items, which also supports the drag and drop functionality. We will build two lists, the first is the list of unassigned tasks, and the second is the list of assigned tasks. …

Angular

3 min read

How to create drag and drop accordion list in Angular
How to create drag and drop accordion list in Angular
Angular

3 min read

Pham Huu Hien

Pham Huu Hien

80 Followers

Angular Enthusiast

Following
  • The Educative Team

    The Educative Team

  • Fresh Frontend Links

    Fresh Frontend Links

  • Eric Elliott

    Eric Elliott

  • Konda Reddy Yaramala

    Konda Reddy Yaramala

  • Thomas Laforge

    Thomas Laforge

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech