~/talk

Modern State Management with Vue 3

Talkat Vue.js London Live 2021 · 2021-10-20..10-21· [vue]
github:Vannsl
slides:none on file

Claims that the Composition API plus the reactivity primitives can replace Vuex for many apps and demonstrates exactly how: builds a small demo using ref and computed and onMounted with a 3 second fake fetch, shows a composable that holds state locally, then moves the state outside the exported function to make it global, uses readonly single source of truth to expose a store, compares explicit imports vs destructuring for IDE clarity, and offers provide/inject alternative as a Vuex-like pattern; deleting an item updates both views when state is global.

AI-written summary · about

  1. 0:00Start
  2. 2:22Options Api
  3. 3:21Recap of How To Write a Component in View 2 or in V3
  4. 12:10State Management
  5. 14:20Card Items
  6. 16:18Card Items Alternative
  7. 17:09Local State Management
  8. 19:37The Provide and Checked Pattern
~/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.