~/talk

Building with Vite's JavaScript API

Talkat ViteConf 2023 · 2023-10-05..10-06· [nodejs, developer-experience]
slides:none on file

A tool called Preview.js uses the Vite JavaScript API and a thin wrapper around Vite's dev server to render any UI component (React, Preact, Solid, Svelte, Vue2/3) inside an IDE panel. It detects components and extracts prop types with the TypeScript compiler API, generates safe fake props, and serves updated in‑memory modules through a virtual file plugin so edits propagate on every keystroke in a few milliseconds — the preview works live.

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.