~/talk

How SvelteKit & GraphQL plays well together

Talkat Svelte Summit Fall 2023 · on Saturday, 2023-11-11· [graphql]
links:none on file
slides:none on file

A live demo wires SvelteKit to a GraphQL endpoint using Houdini: project init, generated schema, and a +page.gql that produces typed stores for SSR and client navigation. Components embed GraphQL fragments so data requirements live with UI (showing fragment masking), pagination and loading directives fetch two items per page and show placeholders, mutations append a new category and update the list with a single GraphQL request, and a generated persisted queries.json enables hashed queries; server fixes (dataloaders/joins) solve n+1 without frontend changes.

AI-written summary · about

  1. 0:00Intro
  2. 1:59GraphQL alternatives
  3. 2:17Architecture
  4. 3:06Browsing data
  5. 6:18Houdini
  6. 19:32Pate
  7. 20:24Loading
  8. 22:03Mutation
  9. 27:26Schema
  10. 28:18Persistent queries
  11. 29:22N1 issue
~/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.