This new Angular primitive might actually be a viable alternative to RxJS
My Angular course: https://angularstart.com/
Angular is introducing a new signals primitive in v19: resource. It will allow loading asynchronous data, e.g. from an HTTP request, in a declarative way with just signals. Not only that, it will also provide convenient access to signals representing the state of the request and any errors.
The PR: https://github.com/angular/angular/pull/58255
Enea's article: https://push-based.io/article/everything-you-need-to-know-about-the-resource-api
Previous declarative change video: • A visual guide to changing without re...
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Want to build mobile apps with Angular?: https://ionicstart.com/
0:00 The resource primitive
0:33 A scenario with RxJS
1:20 Why signals didn't work
1:36 Using the resource API
2:10 Comparison to RxJS
2:40 RxJS interop
#angular #rxjs #signals
More tutorials: https://modernangular.com/
Follow me on Twitter: https://twitter.com/joshuamorony