~/talk

Exploring Angular's Resource API

Talkat angularday 2025 · on Friday, 2025-11-21· [angular, frontend-architecture]
slides:none on file

Angular's new Resource API claims to replace subscription-heavy fetching with a signal-first model centered on resource(), httpResource(), streamingResource(), automatically tracking signal dependencies and auto-refetching when they change. It exposes a single signal with ready/loading/error states, a built-in reload method, and an HTTP wrapper for HttpClient plus a streaming mode for SSE/WebSocket. Example refactors halve component code; an Arduino IoT dashboard implementation works. Caveats: read signals inside the request function and check status before accessing value.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11The Observable jungle
  3. 6:37Introducing Resource API
  4. 9:56Three flavors of Resource
  5. 17:07Refactoring to Resource API
  6. 22:06Common pitfalls
  7. 23:57Resource vs RXJS
  8. 25:49Future of Angular
  9. 26:56Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.