~/talk

Vue 3 | Looking into the Vueture: Composition Functions

Talkat ComponentsConf 2019 · on Friday, 2019-09-06· [vue, javascript]
slides:none on file

Vue 3 adds composition functions as an additive API for extracting logic; a live-refactor of a small "CatSplore" app shows concrete code: useSearch pulls reactive state, lifecycle hook, and an injected async fetch; useSorting exposes a ref for selected index and a computed sorted output. Demo uses the vue-composition-api shim (not production‑grade), mixes setup with options API, works live, and highlights cons: verbose return lists and mental tradeoffs of ref vs reactive.

AI-written summary · about

  1. 0:00Introduction to composition API
  2. 2:08Limitations of options API
  3. 5:21Reviewing mix-ins
  4. 7:53Exploring scoped slots
  5. 11:52Refactoring search logic
  6. 25:25Refactoring sorting logic
  7. 33:53Summary and conclusion
~/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.