~/talk

Pinia Disasterclass

Talkat Vuejs Amsterdam 2024 · 2024-02-28..02-29· [frontend-architecture]
slides:none on file

Highlights concrete migration pitfalls and fixes for Pinia: common broken patterns from Vuex—do not externalize state, avoid meaningless getters/actions, and prefer business-named actions; don’t cast to any—use generics on ref/reactive to get real type safety; call stores only in places with an active injection context (script setup, navigation guards) to avoid cross-request leaks and SSR failures; prefer router/URL as source of truth for selected resources; previews an experimental data-fetching layer Pinia Colada and notes some SPA-only behaviors.

AI-written summary · about

  1. 0:00Introduction and evolution
  2. 2:40Common state management habits
  3. 6:12State patterns and safety
  4. 11:06Avoiding 'yellow' casting
  5. 13:52Composable patterns and usage
  6. 21:00Advanced data fetching
  7. 27:03Conclusion
~/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.