~/talk

Clean Async State Management

Talkat Vue.js Nation 2025 · 2025-01-29..01-30· [frontend-architecture, vue]
slides:none on file

Live coding demo of Pinia Colada shows exact APIs: useQuery with hierarchical cache keys (contact search / id), mutation hooks for optimistic updates and rollback, staleTime and GC settings to avoid cache bloat, and cancel/invalidations to refetch in background. Demo wires optimistic UI into search results and detail page, uses delayed loading to avoid flicker, and mentions Vue Router data loaders and abort signals plus a tiny plugin API for composable behaviors.

AI-written summary · about

  1. 0:00Async state management intro
  2. 1:48Why async state matters
  3. 8:56Reducing user friction
  4. 13:10Simplifying data fetching with Pinia
  5. 19:08Handling mutations and loading
  6. 27:18Optimistic UI updates
  7. 33:07Low-level cache control in Pinia
  8. 39:10Extending Pinia with plugins
  9. 44:06Key benefits of clean async
  10. 46:14Q&A: Pinia vs TanStack Query
~/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.