Because of build optimizer tool in Angular v5.0, the application gets more light and quick as it JavaScript size has decreased and even the unnecessary runtime code and other additional parts (so bundle size is decreased) are removed automatically. In Angular 5, build optimizer is by default a...
[RxJS] Reactive Programming - What is RxJS? First thing need to understand is, Reactive programming is dealing with the event stream. Event streams happens overtime, which not stay in the memory. For example, the array we have: varsource = ['1', '1', 'foo', '2', '3', '5', '...
Additional elements are, ng update, , ng addAngular element, Angular Material + CDK component, Angular Material starter component, CLI workspace, library support, Tree Shakable Provider, improvement of animation performance, and is RxJS v6. In the year 2018, Angular 6 got released with no major...
Angular 9.1 brings performance improvements to the ngcc compatibility compiler and the Ivy compiler and runtime
Angular version 17 not only brings the cool new features we’ve been drooling over but also includes bug fixes and performance boosts. If you’re itching formore details, the backstage pass is onGitHub. And for those craving a sneak peek into the future of Angular delights, you can check...
I’ve recently gotten into the habit of using the finalize operator when using RxJS in Angular. For the most part, if you’ve used languages that have try/catch statements, they generally have a “finally” statement too. For example, in plain old javascript you can do something like : ...
In a recent project, I’ve gotten into the habit of using the timer operator inside RxJS. At first I thought it was quite hacky, but actually.. It can come in
Angular 6 ships withRxjs 6.0.0. @Injectable now supports tree-shakeable tokens. Service workers now properly handle invalid hashes in all scenarios. The router sometimes hits a race condition while a route is being instantiated and a new navigation request arrives. This issue has been solved in...
Angular is finally going to include updates to the latest version of Angular’s dependencies, which are mainly TypeScript and RxJS. In fact, it is now mandatory to upgrade to TypeScript 3.4 in the Angular 8 update. Though it may look like just a small improvement, but if you look at th...
// message.service.ts import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; @Injectable({ providedIn: 'root', }) export class MessageService { private messageSource = new Subject<string>(); message$ = this.messageSource.asObservable(); sendMessage(message: string): ...