~/talk

Dynamic Store Modules with Vuex

Talkat VueConf US 2018 · 2018-03-26..03-28· [vue, frontend-architecture]
slides:none on file

Shows how to keep the Vuex store tiny by using a static "loader" module plus dynamic module registration so each API item becomes its own module on demand. Uses a Vuex plugin watching the "gotIt" mutation that loops the API payload and registers a module per item, mapping properties into predictable state. Demonstrates the code, edge case fix for missing properties, and reports that the approach works and keeps the app small and fast.

AI-written summary · about

  1. 0:00Dynamic Store Modules
  2. 2:06The code
  3. 3:03Learn more
~/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.