~/talk

The Future of VueX

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [frontend-architecture, vue]
name:Kia King
github:kiaking
slides:none on file

Vuex 4 is a compatibility layer for Vue 3 that keeps Vuex 3’s public API while changing bundles, installing with createStore and passing a store instance to app.use, and improving TypeScript and packaging. The proposed Vuex 5 replaces mutations with no mutations only actions, adds defineStore for both Options and Composition APIs, uses a Vuex instance registry to keep SSR-safe per-request state, enables automated code splitting of stores, and provides a Nuxt-like plugin injection system; timeline: Vuex 5 RFC after Vuex 4 stable.

AI-written summary · about

  1. 0:00Start
  2. 3:55New bundles aligned with Vue 3.
  3. 4:21New Installation process.
  4. 6:15Logger plugin included in the core.
  5. 8:09What's New in Vuex 5?
  6. 10:07Defining a store.
  7. 11:43Using a store.
  8. 13:10Using a store in Vue Component.
  9. 14:03Store is almost identical to Vue Component
  10. 14:39Writing a store with Composition API.
  11. 17:46Store composition.
  12. 20:38Plugins type definition
~/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.