~/talk

State Management with Composition API

Talkat VueConf Toronto 2021 · 2021-11-22..11-23· [vue, frontend-architecture]
github:Vannsl
slides:none on file

Shows how Vue 3’s Composition API replaces Vuex for many apps by using ref and reactive for state, computed for derived values, and a readonly wrapper to prevent external mutation; demos use a 3‑second sleep to simulate loading and a small dataset (items like "x" and "milk") to show local versus global behavior. Moving the state variable outside the exported function makes a singleton composable (global store), and provide/inject shows an alternative store wiring; overall approach works and author prefers Pinia for larger projects.

AI-written summary · about

  1. 0:00Introduction to Vue 3
  2. 2:03Options vs Composition API
  3. 3:54Logical Units and Organization
  4. 5:32Building Simple Composables
  5. 7:50Advanced Composables
  6. 10:45State Management Evolution
  7. 13:56Local and Global State
  8. 19:03Provide/Inject and Pinia
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.