~/talk

Transforming data to and from storage areas using Svelte custom stores

Talkat Svelte Summit Fall 2021 · on Saturday, 2021-11-20· [javascript, databases]
links:none on file
slides:none on file

Custom Svelte stores implement the store contract (subscribe and set), initialize from and write back to localStorage sync, and apply arrays of read/write transforms so objects use JSON stringify/parse on save/load. Transforms chain so you can add LZString compression to compress strings before storage while the $store binding and API stay the same. Multiple assignments trigger multiple set calls, so prefer a single assignment or debounce in the store; you can swap localStorage for an HTTP endpoint.

AI-written summary · about

~/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.