~/talk

Vuex Modules in practice

Talkat VueDay 2019 · 2019-04-12..04-13· [vue, frontend-architecture]
slides:none on file

Argues that Vuex modules turn a sprawling single store (one file can hit ~400 lines) into isolated units with their own state, getters, actions and mutations so code stays concise and reusable; demonstrates the cart/products example from the Vue docs, shows mutations and state changes in Vue Devtools, warns that missing namespace causes duplicate action runs, explains cross-module reads via rootState, promotes helpers like mapGetters/mapActions for templates and notes Nuxt auto-namespaces and requires state as function.

AI-written summary · about

  1. 0:00Start
  2. 5:08Start with Vuex...
  3. 7:18Application grows...
  4. 9:49Start using vuex modules
  5. 10:26How the structure will look like...
  6. 24:59Tiny change...
~/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.