The most 2 common ways to unsubscribe to subscription in Angular

For developers who work with Angular, for sure you have come across RxJS, it's a cool library with the observable and its operators. For observable, when it has been subscribed, it will return the subscription...

Immutable Object and Array using Typescript

Create Immutable Object and Array using Typescript Hi folks, in this article, we will use Typescript to create immutable object and array. Let's see how simple it is. Primitive Types We all know that in Typescript we...

How to get only one current value of Observable in a clean way.

Hi, for you guys who are working with RxJs observable, when you want to get the values from the observable, this is the most common way we do. Nothing is wrong with this method; it makes...