~/talk

Remote Control

Talkat ViteConf 2025 · 2025-10-09..10-10· [frontend-architecture, javascript]
slides:none on file

SvelteKit adds remote modules that declare server-held state and expose queries and commands, wired via Vite/Rollup plugin hooks (resolveId/load/transform/renderChunk/writeBundle). The team builds per-function endpoints by loading modules on the server during transform, returns single-flight mutation responses that include updated queries, and supports optimistic updates with automatic rollback. Demos show a persisted counter, batched weather requests, and form handlers with Valibot/Zod validation and client-side enhancements; the system works today but relies on heavy plugin-API hacks.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:30Rollup and plugin API origins
  3. 4:40Vite plugin API in SvelteKit
  4. 9:14Remote functions concept
  5. 9:34Button demo with remote state
  6. 16:14Weather app with batched queries
  7. 18:41Todo app with form handling
  8. 23:13How remote functions work
  9. 24:58Conclusion and call to action
~/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.