~/talk

petite-vue - Progressively enhancing any application?

Talkat JSWorld Conference 2022 · 2022-02-09..02-11· [vue, web-performance]
slides:none on file

Claim: petite-vue is a tiny Vue distribution that enables progressive enhancement without a build step. It uses the familiar template syntax, walks the existing DOM (no virtual DOM), and weighs about 6 kB. The talk shows concrete tools: mounting with a v-scope directive, createApp, v-effect, two lifecycle hooks, and component templates. Examples include a counter, to‑do, hamburger, API-driven input and a live demo with GIF and sound that works. Context: roughly 15% of sites use modern frameworks, so petite-vue targets incrementally adding interactivity.

AI-written summary · about

  1. 0:00Introduction
  2. 3:36Progressive enhancement
  3. 8:32Why petite-vue created
  4. 10:17Counter example
  5. 13:51Computed properties & hooks
  6. 16:21Side effects & data fetching
  7. 17:48Components in petite-vue
  8. 20:12petite-vue vs Alpine.js
  9. 21:15When to use petite-vue
  10. 21:57Live coding party button
  11. 26:30Conclusion & Q&A
~/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.