~/talk

Exploring Angular's Resource API

Talkat Wey Wey Web 2025 · 2025-11-17..11-18· [angular, frontend-architecture]
slides:none on file

Angular’s new Resource API replaces manual subscriptions and async pipes with a signal-first model using resource() , httpResource() and streamingResource(); components shrink (example shows about half the lines) because one signal exposes value plus loading/error/ready status and a .reload method, removing separate booleans and Subjects. HTTP resource unwraps responses, streaming resource opens/closes event streams (used successfully with an Arduino IoT sensor). Gotchas: any signal dependency must be read inside the request function to trigger reloads, and code must check status before reading .value.

AI-written summary · about

  1. 0:00Introduction to Angular
  2. 1:01Async data handling pain
  3. 3:57Resource API overview
  4. 7:10Basic resource usage
  5. 10:50Resource flavors
  6. 14:36HTTP resource
  7. 15:41Streaming resource
  8. 18:15Code refactor demo
  9. 21:52Common mistakes
  10. 23:41Resource vs RxJS
  11. 25:55Where to place resources
  12. 27:19Future of Angular
  13. 28:03Key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.