~/talk

Beyond State Management in Pinia

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

Pinia claims to be more than simple global state: it centralizes all store states in one object, supports Vue 2 and 3, SSR, HMR and devtools v6 integration, and adds a testing module and type-safe plugins. Concrete features shown: patch method groups mutations (accepts partials or functions to avoid expensive array replacements), plugins get onError hooks (four lines send action errors to Sentry), action lifecycle hooks, timeline grouping for concurrent actions, and setup/option store APIs that work and demo cleanly.

AI-written summary · about

  1. 0:00Introduction to Pinia
  2. 0:43State management basics
  3. 3:02Why use a store?
  4. 5:38How Pinia works internally
  5. 7:25Evolution from Pinia 1
  6. 8:40Pinia 2 features and API
  7. 10:13Actions, patches, and plugins
  8. 13:48Live demo and dev tools
  9. 23:33Setup stores and composables
  10. 25:54Conclusion and sponsors
~/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.