Quantcast
Channel: Stories by Flaha on Medium
Browsing all 85 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

I just opened an issue. I don’t think you can track it. I will comment here...

I just opened an issue. I don’t think you can track it. I will comment here when it resolved.

View Article


Image may be NSFW.
Clik here to view.

The answer ^

The answer ^

View Article


Image may be NSFW.
Clik here to view.

It’s a known-issue in Medium. They are working on it.

It’s a known-issue in Medium. They are working on it.

View Article

Image may be NSFW.
Clik here to view.

There was an issue in Medium. It should be OK now.

There was an issue in Medium. It should be OK now.

View Article

Image may be NSFW.
Clik here to view.

Understanding RxJS Multicast Operators

RxJS multicast operators, better known as sharing operators, are probably the most complicated topic to understand in the jungle that is RxJS. In this article, I’ll try to clarify the subject by...

View Article


Image may be NSFW.
Clik here to view.

Yes, thanks!

Yes, thanks!

View Article

Image may be NSFW.
Clik here to view.

Yes, I know. I did it for two reasons:

Yes, I know. I did it for two reasons:I wanted to expose more people to this feature.I like the exportAs approach. For me using it, it’s like say — you are allowed to use this component or directive...

View Article

Image may be NSFW.
Clik here to view.

Testing Asynchronous Code in Angular Using FakeAsync

Zone.js monkey patches asynchronous APIs such as setTimeout, XHR, etc., and exposes lifecycle hooks such as onScheduleTask or onInvokeTask, that provide us with the ability to monitor and intercept...

View Article


Image may be NSFW.
Clik here to view.

Thanks. I know, I wrote it in the Summary section.

Thanks. I know, I wrote it in the Summary section.

View Article


Image may be NSFW.
Clik here to view.

Thanks. I don’t work with async :)

Thanks. I don’t work with async :)

View Article

Image may be NSFW.
Clik here to view.

You can still mock the dependencies using Jest....

You can still mock the dependencies using Jest. https://jestjs.io/docs/en/es6-class-mocks

View Article

Image may be NSFW.
Clik here to view.

Transloco’s New Dev Tools Make i18n in Angular Easy as Pie

For the past few months, the Transloco team has worked hard to provide you with a better i18n development experience in Angular. In this article, we’ll explore all the new 😎 stuff Transloco has to...

View Article

Image may be NSFW.
Clik here to view.

Here is an updated version.

combineLatest([ this.selectVisibilityFilter$, this.selectAll()]).pipe( map(([filter, todos]) => this.this.getVisibleTodos(filter, todos) ));Here is an updated version.

View Article


Image may be NSFW.
Clik here to view.

Strategies for Cache-Busting Translation Files in Angular

When a translation file is initially loaded, the browser views it as a static asset, and as such, might cache it for a long time (depending on how your website is configured to leverage browser...

View Article

Image may be NSFW.
Clik here to view.

Reduce Change Detection Cycles with Event Coalescing in Angular

In this article, I want to talk about a new feature introduced in the latest Angular release (v9) — ngZoneEventCoalescing. First, we need to understand the problem it is meant to solve. Let’s say we...

View Article


Image may be NSFW.
Clik here to view.

Thanks. I don’t work with async :)

Thanks. I don’t work with async :)

View Article

Image may be NSFW.
Clik here to view.

The feature’s author said:

The feature’s author said:

View Article


Image may be NSFW.
Clik here to view.

I know the answer, but please make a simple demo so I can show it to you.

I know the answer, but please make a simple demo so I can show it to you.

View Article

Image may be NSFW.
Clik here to view.

By default, the internal flush() method flushes only non-periodic tasks.

By default, the internal flush() method flushes only non-periodic tasks. The exposed flush() function doesn’t let you pass the second parameter, the flushPeriodic, and therefore it’s always false.I...

View Article

Image may be NSFW.
Clik here to view.

Angular Reactive Forms: The Ultimate Guide to FormArray

In this article, I’d like to discuss this peculiar creation — a FormArray, exposed by Angular Reactive Forms. We’ll learn when and how to use it, both in the component and in the template. Moreover,...

View Article
Browsing all 85 articles
Browse latest View live