~/talk

Manage external data querying using TanStack Vue Query

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

Quick demo shows how to replace custom fetch composables with TanStack Vue Query: install Vue Query plugin, register it, then call useQuery('pokemon', getPokemon) so the library keeps results in a cache keyed by that unique key. The composable returns data, status, error and functions like refresh/retry; built‑in retries, stale time and retry intervals prevent duplicate requests. A deliberate failing request demonstrates automatic error handling and manual retry succeeds, so the approach works end to end.

AI-written summary · about

~/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.