~/talk

You might not need Vuex

Talkat Vue.js Amsterdam 2020 · 2020-02-20..02-21· [vue, frontend-architecture]
slides:none on file

Claim: you might not need Vuex — concrete alternatives are shown using the Vue 3 composition API with a Pinia store, dependency injection via provide/inject plus reactive objects, and storing local UI state in Apollo client local cache. A live-coded Rick and Morty favorites demo implements two mutations (add/remove) as cache resolvers, briefly hiccups when internet drops but ultimately works, and uses Apollo and Vue devtools to inspect state.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33When you need Vuex
  3. 5:14State management
  4. 9:30GraphQL
  5. 11:40Local state
  6. 13:40Code
~/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.