~/talk

A Cocktail of Smooth Data Fetching for Better UX

Talkat MadVue 2025 · on Thursday, 2025-05-29· [web-platform, frontend-architecture]
links:none on file
slides:none on file

A concrete recipe: use a centralized query cache (queries keyed by arrays) so simultaneous components reuse the same promise, mark data stale after 5s to auto-refetch, and prefer client-side refetch/refresh over ad hoc state hacks. Build optimistic mutations by inserting a temporary negative-ID item into the cache and rolling back on error. Small plugins prove the point: Pina Colada is ~3KB gz and a delay spinner (400ms) avoids flashy loading states; follow Nielsen timings (<100ms instant, 1s notice, >10s needs streaming).

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:05History of UX and friction
  3. 8:45Suspense and loading states
  4. 11:13What is Pinia Colada?
  5. 16:49Centralized data and cache
  6. 21:41Perceived performance tricks
  7. 26:15Fetching ahead and stale data
  8. 31:35Optimistic updates
  9. 37:19Error handling in optimistic updates
  10. 39:30Key takeaways and summary
~/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.