How to implement exponential backoff in an Angular app
In this video, I will show how to implement exponential backoff in an Angular app which is helpful for a more resilient user experience. Implementation: Test:
In this video, I will show how to implement exponential backoff in an Angular app which is helpful for a more resilient user experience. Implementation: Test:
As an Angular consultant, the main problem I see new Angular developers have is how to use RxJS efficiently in Angular apps. In other words, how to use it to create a scalable and maintainable reactive architecture. What I see instead is an abuse of RxJS, which is a completely natural thing to do, when …
Refactoring Angular Apps to Reactive Architecture Read More »
As a consultant, I normally work with companies between 3-12 months at a time and then I am off to the next gig. Most often, I am hired as a “hands-on” coach, were I am called in for an important and urgent project to make stuff happen within a very tight deadline. This requires that …
A common misconception in Angular development is regarding whether observables are synchronous or asynchronous. A lot of (even experienced Angular developers) think that observables are async, but the truth is that they can be… Both synchronous and asynchronous. To understand why this is, let’s define what it actually means to run code async in the …
The main secret behind having better test coverage in an Angular app is to reduce the friction it takes to write tests and enforce test coverage by setting a test coverage threshold to be checked on every commit. NgRx and reactive testing is an area where many people get confused because it seems hard to write …
Learning observables are way harder than learning to use promises with all the different operators and methods. But learning Observables is actually a very good investment because of the increasing use of reactive programming, like in Redux. This enables easier management of the state, caching and treating async and sync logic in the same manner. …
Learning observables by cutting the fat away: The 10 most used observables operators Read More »