~/talk

Provide:Inject in Vue and why you might not need vuex

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

Argues that Vue 3 composition API + provide/inject can replace a global store for many cases by creating a localized provide/inject data layer that fetches and shares reactive state. Implements a compound accordion (title/panel/section/wrapper) and an over‑engineered counter provider that simulates fetches (sleep), exposes read/write refs, and disables buttons while pending. Shows prop‑drilling pain at ~15 layers and demonstrates the components stay in sync and work as intended.

AI-written summary · about

  1. 0:00Introduction to state passing
  2. 2:02Props and prop drilling
  3. 4:21Global state and stores
  4. 6:46Root and parent limitations
  5. 9:07Provide and inject explained
  6. 13:13Use cases for provide/inject
  7. 15:37Building compound components
  8. 23:03Data layer architecture
  9. 30:20Conclusion and Q&A
~/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.