He who thinks change detection is depth-first and he who thinks it’s breadth-first are both usually right
Master Angular change detection flow. Learn why components appear to load breadth-first and optimize your lifecycle logic for faster apps.
Master Angular change detection flow. Learn why components appear to load breadth-first and optimize your lifecycle logic for faster apps.
With the Angular Service Worker and the Angular CLI built-in PWA support, it's now simpler than ever to make our web application downloadable and installable, just like a native mobile application. In this post, we will cover how we can configure the Angular CLI build pipeline to generate applicatio
Struggling to sync data across complex observables? Master RxJS sequence composition to merge streams and handle async events with ease.
One of the things that most impacts User Experience (especially on mobile) is the application startup experience, and perceived performance. In fact, studies have shown that 53% of mobile users abandon sites that take longer than 3 seconds to load! And this is true for all applications in general, n
The ngIf template syntax is very useful in many common use cases, like for example using an else clause when we want to display a loading indicator. But it turns out that there is more to ngIf than it might seem at first sight: The "ngIf as" syntax combined with the async pipe is also a key part for
Table of Contents This blog post is part of an article series. Part I: Generating Custom Code With The Angular CLI And Schematics Part II: Automatically Updating Angular Modules With Schematics And The CLI Part III: Extending Existing Code With The TypeScript Compiler API Part IV: Frictionless Libra
In this post, we are going to do a practical guided Tour of Service Workers, by focusing on one of its most important use cases: Application Download and Installation (including application versioning). As a learning exercise, I invite you to code along, and turn your application into a PWA by makin
In this post, we will learn how the default Angular styling mechanism (Emulated Encapsulation) works under the hood, and we will also cover the Sass support of the Angular CLI, and some best practices for how to leverage the many Sass features available. We will talk about when to use each feature a
We are pleased to announce version 5.0.0 of Angular, pentagonal-donut. This is a major release containing new features and bugfixes. This release continues our focus on making Angular smaller…
Generating Custom Code With The Angular CLI And Schematics
Since the browser just loads this image through a normal HTTP call, how is the server supposed to know if user A or user B is trying to consume an image? The server needs some kind of authorization to be passed to it. This article explains how to add security to images in Angular.
This post is a step-by-step guide for both designing and implementing JWT-based Authentication in an Angular Application. The goal here is to discuss JWT-based Authentication Design and Implementation in general, by going over the multiple design options and design compromises involved, and then app
Stop struggling with floating-point math errors. Master IEEE 754 precision to write reliable, bug-free numeric logic in JavaScript.
Master unidirectional data flow in Angular. Distinguish between presentation and state layers to build predictable, high-speed apps.
Master Angular without zone.js by understanding how NgZone triggers change detection and how to handle libraries outside the loop.
Master Angular’s change detection mechanism. Optimize rendering, fix performance bottlenecks, and gain full control over your app.
Ein Erfahrungsbericht
without ejecting
Stop struggling with Angular component initialization. Master the differences between constructor and ngOnInit for cleaner, robust code.
Master async context with Zone.js. Learn to intercept tasks, manage state across callbacks, and debug complex flows for cleaner code.
Master custom form controls in Angular by implementing ControlValueAccessor to seamlessly sync third-party widgets with your forms.
Angular-Oauth2-Oidc 2.1 Released
This post is the first part of a two-parts step-by-step guide for implementing JWT-based Authentication in an Angular application (also applicable to enterprise applications). The goal in this post is to first start by learning how JSON Web Tokens (or JWTs) work in detail, including how they can be
Master the difference between pure and impure Angular pipes to optimize performance, reduce memory usage, and write cleaner, faster code.