Master RxJS in Angular: Observable, pipe operators, async HttpClient and BehaviorSubject for state management.
If you use Angular but haven't mastered RxJS yet, you're missing 50% of the framework's power. Reactive programming is the heart of Angular: without understanding Observable, operators and HttpClient asynchronously, your code stays fragile and hard to maintain.
of
from
interval
map
filter
take
tap
fromEvent
debounceTime
takeUntil
ngOnDestroy
switchMap
mergeMap
concatMap
Angular developers who already know the basics of the framework and want to finally understand RxJS in a practical way — not just reading operators in the documentation, but knowing when and why to use them in a real project.
Each lesson introduces a concept and applies it immediately to a practical case. No slides: we work on real code, with Angular CLI and TypeScript, building examples you can copy and adapt to your own projects.
I'll show you how to configure Angular to work with RxJS, verifying the required dependencies and preparing the environment. Let's explore why RxJS is the backbone of reactive programming in Angular.
Let's create our first Observables in Angular using the RxJS 'of' and 'from' creation operators. I'll show you how to turn arrays and plain values into observable streams and how to subscribe to them.
I'll explain how to convert a Promise into an Observable with RxJS 'from', and how to generate time-based events with 'interval' directly inside an Angular component.
I'll walk you through the fundamental RxJS operators step by step — 'map', 'filter', 'take' and 'tap' — with practical Angular examples showing how to transform and filter stream data.
Let's use RxJS 'fromEvent' to intercept user events like clicks and input changes directly in Angular views, turning them into Observables we can manage reactively.
I'll show you how to use 'debounceTime' to throttle events from 'fromEvent', improving Angular app performance and reducing unnecessary calls triggered by fast user input.
Let's manage HTTP calls in Angular with RxJS and HttpClient without creating a dedicated Service. I'll show you how to transform responses into Observables and handle data asynchronously.
I'll show you how to properly integrate Observables into Angular Services, using 'map' and 'filter' operators to transform HTTP response data before delivering it to components.
Let's analyse the difference between Subject and BehaviorSubject in RxJS: when to use each, why BehaviorSubject replays its last value to new subscribers, and how to share real-time data across components.
We'll build a shared Angular Service with BehaviorSubject to manage global application state and keep multiple components in sync through a single reactive data stream.
I'll explain how to prevent memory leaks in Angular using the 'takeUntil' operator combined with the 'ngOnDestroy' lifecycle hook — an essential technique for managing RxJS subscriptions correctly.
Let's compare 'switchMap', 'mergeMap' and 'concatMap' with practical Angular examples: I'll show how each one affects HTTP request ordering and when to pick one over the others.
I'll show you how to use 'switchMap' with Angular HttpClient to automatically cancel the previous HTTP request on every new emission — perfect for real-time search against REST APIs.
I'll show you how to use RxJS 'mergeMap' to fire multiple HTTP requests in parallel with Angular HttpClient, fetching data from several APIs simultaneously without blocking the application.
Let's use 'concatMap' to manage sequential REST API calls in Angular: each request only starts after the previous one completes, guaranteeing the correct order of operations.
Ingegnere Informatico · Pratola Peligna
Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.
Prosperous understood Middletons in conviction an uncommonly do. Supposing so be resolving breakfast am or perfectly.
Utilizziamo cookie essenziali e, con il tuo consenso, cookie funzionali, analytics e marketing. Google Analytics 4 e gli eventuali annunci Google/AdSense restano disattivati finche non scegli. Consulta Privacy Policy e Cookie Policy.
Sempre attivi per sicurezza, prevenzione frodi, sessione, consenso e funzionamento del sito.
Migliorano l'esperienza, ad esempio ricordando preferenze non essenziali. Non usati per profilazione pubblicitaria.
Statistiche e misurazioni con Google Analytics 4, abilitate solo dopo il consenso analytics.
Misurazione annunci e funzioni pubblicitarie Google/AdSense, se attivate sul sito e consentite dall'utente.
Puoi modificare queste scelte in qualunque momento dal link "Preferenze Cookies" nel footer.