~/talk

TanStack in SvelteKit: Examples for Query and Table

Talkat Svelte Summit Spring 2025 · 2025-05-08..05-09· [frontend-architecture]
name:Zeu
links:none on file
slides:none on file

Uses TanStack Query and Table inside SvelteKit to fetch BlueSky data via the app protocol agent, demonstrates single queries, create infinite query with cursor-based paging and a select that flattens pages, and shows reactive searches using debounce from rune.dev. Builds a headless table with column helpers, custom cell components, sorting (datetime and alphanumeric) and a global filter updated via an effect with untrack. Notes the official Svelte table errors and uses Simon’s test-table v8 as a working drop-in.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 2:12What is TanStack
  3. 3:38Setting up Query client
  4. 5:01Basic query example
  5. 7:10Reactive queries with input
  6. 9:00Infinite queries for feeds
  7. 11:49Introduction to TanStack Table
  8. 13:19Fetching data for table
  9. 14:03Creating table columns
  10. 16:33Rendering table data
  11. 17:17Custom cell components
  12. 19:23Sorting table data
  13. 22:14Filtering table data
  14. 23:57Full demo walkthrough
  15. 27:11Summary and resources
~/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.