~/talk

Preview.js: How Vite enables instant component previews in your IDE

slides:none on file

Preview.js shows UI components and Storybook stories inside the IDE by spinning a tiny Vite dev server via the Vite node API and mounting a virtual file system that serves fake entry points in memory, so a warning that normally appears after 15 clicks can be edited immediately. It auto-detects props with the TypeScript compiler API, updates on every keystroke in milliseconds, supports React/Vue/Solid, integrates with Storybook to preview stories in IDE, and offers a paid Pro props editor and CLI.

AI-written summary · about

  1. 0:00Introduction to Preview.js
  2. 0:52Setting up a project
  3. 5:05Using Preview.js
  4. 6:56Managing component props
  5. 9:43How Preview.js works
  6. 12:40Storybook integration
  7. 15:00Future features and wrap-up
~/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.