~/talk

Server State Synchronization with Angular Query

Talkat NG Poland 2024 · on Wednesday, 2024-11-06· [angular, frontend-architecture]
slides:none on file

Angular Query (the Angular port of TanStack Query) claims to replace homegrown server-state code with a small API that handles fetching, a single app-wide cache, stale times, retries, background refetch and cache GC so you no longer write dicts or manual reload logic. It uses injectQuery and query keys that include pagination or filters, composes with signals or NgRx, supports imperative mutations and callbacks, and exposes controls like removeQueries / invalidate / reset / cancel — proven in React Query’s ecosystem.

AI-written summary · about

  1. 0:00Introduction to state management
  2. 1:12Client vs server state
  3. 6:10Pareto principle in APIs
  4. 7:12Angular Query basics
  5. 13:20Battle-tested defaults
  6. 16:48Client and server state integration
  7. 17:09Handling mutations
  8. 20:24Query key design best practices
  9. 22:52Why use Angular Query
~/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.