~/talk

From Component API to SSR heaven

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

Builds a tiny SSR stack using Svelte 5’s render API, esbuild in-memory bundling and Fastify with fastify-type-provider-zod for query validation, then outputs server HTML plus a separate hydratable client bundle. Creates a package called svelte inline bundler, injects CSS into the client bundle, and wires a simple WebSocket HMR that swaps the hydrate script so CSS updates apply instantly. Reactivity and hydration work after adding IDs and a hydrate entry, but full state-preserving HMR is left unimplemented.

AI-written summary · about

  1. 0:00Cringy title origin
  2. 1:08Why I started with SvelteKit
  3. 2:31Moving from SvelteKit to Svelte
  4. 5:26Today's agenda overview
  5. 5:47Setting up SSR in Svelte
  6. 7:14Registering views on server
  7. 9:02Adding styles to SSR
  8. 11:11Passing props to components
  9. 13:48Achieving reactivity
  10. 15:20Hydrating server-rendered output
  11. 20:05Sending hydratable bundle to client
  12. 23:17Why browser refresh is bad
  13. 24:00Building homemade HMR
  14. 28:21CSS HMR from local server
  15. 30:14Summary and Q&A
~/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.