~/talk

Data Loaders - Elevating Data Fetching in Vue

Talkat Vue.js Live 2024 · 2024-04-25..04-26· [vue, web-platform]
slides:none on file

Shows the new Vue Router Data Loaders API that hooks into navigation to block or lazy-load data, deduplicate parallel requests, and optionally run sequential on‑demand fetches; demonstrates migrating an app talking to the Art Institute of Chicago API, adding defineLoader/defineColoader, using a p‑colada cache layer for instant back/forward pagination, and a lazy image loader with server=false so SSR skips it. Claims: consistent commit/rollback on failure, configurable caching (staleTime), and it works end‑to‑end though API is still experimental.

AI-written summary · about

  1. 0:00Start
  2. 0:26Data Loaders
  3. 1:33Client-only Data Fetching
  4. 2:54Using a Composable
  5. 3:26Data Loaders
  6. 6:52Demo Time
~/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.