~/talk

Elevating the DX of using Storybook for Svelte

Talkat Svelte Summit Fall 2024 · on Saturday, 2024-10-19· [developer-experience, component-design]
links:none on file
slides:none on file

Integration hooks into the svelte/compiler AST to locate defineMeta calls and component-level story nodes, uses the simframe helper to traverse and extract names and attributes, and implements a Storybook plugin that rewrites the Svelte compile output to inject an exported meta and stories surface while leaving the original component function largely untouched. The transform lets Svelte single-file components show in the sidebar and render in Storybook, preserves legacy object stories, and ships in the next Storybook preview.

AI-written summary · about

  1. 0:00Introduction to Storybook
  2. 1:16Regular CSF vs Svelte CSF
  3. 2:11Benefits of Svelte CSF
  4. 3:52Communication and AST analysis
  5. 6:11The SFC challenge
  6. 8:05Transforming compiled output
  7. 11:46Conclusion and takeaways
~/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.