~/talk

Introducing Vuex in your project

Talkat vueday 2021 · on Thursday, 2021-04-29· [vue, testing]
slides:none on file

Demonstrates adding a Vuex store to a small bingo app, moves component state into a central state tree, and maps state/getters and commits mutations so UI updates predictably. Implements synchronous mutations and asynchronous actions, mocks randomness to test the extract flow with 90 available numbers, and uses mock axios to test success and failure paths. Exports store parts so unit tests exercise default state, getters, mutations and actions and verifies components with a mocked store and snapshots.

AI-written summary · about

  1. 0:00Start
  2. 5:48Sub Components
  3. 11:25One-Way Data Flow
  4. 17:33The Ux Flow
  5. 19:54Core Concept
  6. 23:10Getters
  7. 34:47Mutations
  8. 36:33Mock Axios
  9. 41:02Mocking the Store
  10. 41:31Recap
  11. 43:57What Is the Equivalent for Props Data When Using Class Components
  12. 49:31Presentational Component
  13. 50:03Container Components
~/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.