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

Image may be NSFW.
Clik here to view.

It’s not appropriate to take someone else ideas and code and use them without...

It’s not appropriate to take someone else ideas and code and use them without giving them credit.

View Article


Image may be NSFW.
Clik here to view.

You can reference the original article at the end. Thanks.

You can reference the original article at the end. Thanks.

View Article


Image may be NSFW.
Clik here to view.

That’s a great question.

That’s a great question. Could you provide a stackblitz example so that I can show a solution, please?

View Article

Image may be NSFW.
Clik here to view.

https://stackblitz.com/edit/angular-tw59a9

https://stackblitz.com/edit/angular-tw59a9

View Article

Image may be NSFW.
Clik here to view.

Creating Custom Operators in RxJS

Operators are one of the building blocks of RxJS. The library comes with many operators, which can be used to deal with almost every situation we may encounter, but there are times when it can be...

View Article


Image may be NSFW.
Clik here to view.

Pass it via routing data or a service.

Pass it via routing data or a service.

View Article

Image may be NSFW.
Clik here to view.

Welcome to the Ivy League: Lazy Loading Components in Angular v9

I have great news! Exciting days have come. Angular version 9 was released, and one of its most powerful features is the ability to render components lazily and, most importantly, easily. In this...

View Article

Image may be NSFW.
Clik here to view.

This is by design.

This is by design. You can see a similar behaviour in the most popular Redux library — https://github.com/omnidan/redux-undo

View Article


Image may be NSFW.
Clik here to view.

Sorry, my head isn’t here.

Sorry, my head isn’t here. Can you create a live example in a stackblitz that shows the issue, please?

View Article


Image may be NSFW.
Clik here to view.

Play with the top redo-undo in this example, and tell me what’s wrong in your...

Play with the top redo-undo in this example, and tell me what’s wrong in your opinion — http://akita.surge.sh/todos

View Article

Image may be NSFW.
Clik here to view.

It’s a bug. Do you want to create a PR with a fix, please?

It’s a bug. Do you want to create a PR with a fix, please?

View Article

Image may be NSFW.
Clik here to view.

Use ngOnChanges and check if it’s defined first

Use ngOnChanges and check if it’s defined first

View Article

Image may be NSFW.
Clik here to view.

I don’t want to be a party pooper, but based on the source code, the result...

I don’t want to be a party pooper, but based on the source code, the result selector is deprecated.

View Article


Image may be NSFW.
Clik here to view.

Getting to Know the Defer Observable in RxJS

In the previous article, we learned how to create custom RxJS operators. In this one, I’d like to talk about one of the lesser known observables — defer — and explain how we can use it to solve the...

View Article

Image may be NSFW.
Clik here to view.

Implement Multiple Selection Using Shift + Click in Angular

It’s another one of those days when all I want to do is work on something cool. This time I was thinking about creating reusable and scalable support for multi-selection, where users will be able to...

View Article


Image may be NSFW.
Clik here to view.

Don’t believe everything you read :)

Don’t believe everything you read :)Using a structural directive is the recommended approach. It’s DRY and efficient, as it creates one subscription per template. Moreover, the t function is memoized....

View Article

Image may be NSFW.
Clik here to view.

That’s not a big deal. You can solve by using defer , but here is v2 version:

That’s not a big deal. You can solve by using defer , but here is v2 version:https://github.com/NetanelBasal/angular-forms-unsaved-changes/blob/master/src/app/dirty-check-v2.ts

View Article


Image may be NSFW.
Clik here to view.

Sure

Sure

View Article

Image may be NSFW.
Clik here to view.

Untitled

<span [attr.contenteditable]=”true”> Let’s try to edit this text!</span>

View Article

Image may be NSFW.
Clik here to view.

So you’re creating a Subject ( share() ), then you’re creating one more...

So you’re creating a Subject ( share() ), then you’re creating one more subscription with concat. Redundant work, and memory for something so simple.Moreover, it’s less readable for someone who isn’t...

View Article
Browsing all 85 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>