Angular's httpResource update has a surprising hidden feature
My Angular course: https://angularstart.com/
There is an experimental new API in the 19.2 RC: httpResource - it is essentially a specialised version of resource for fetching data from HTTP endpoints with signals.
But that's not what has got me excited. The part I've found more interesting is the ability for resources to now stream updates over time.
Problems with using signals to represent events: • I could remove ALL RxJS in my Angular...
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
My game dev channel: / @joshmoronypixels
MY GEAR:
Keyboard: https://adm42.dev/?ref=3
Neovim setup: https://github.com/joshuamorony/lazyvim/
Animations: https://motioncanvas.io/
0:00 httpResource
1:15 The problem with rxResource
2:55 Streaming resources
4:53 Experimental patterns
#angular #rxjs #signals
More tutorials: https://modernangular.com/