~/talk

VUE3 & Pinia A Better Pattern for Global State Management

Talkat Connect.Tech 2022 · 2022-11-07..11-09· [vue, frontend-architecture]
slides:none on file

Argues that for highly dynamic front ends the concrete pattern is to use VUE3 composition API + Pinia early, with composables for reusable logic and Pinia stores for data, not prop drilling; demos a working movie-playlist app using the OMDb API, Vite, suspense boundaries, per-item detail fetches from child components, and a modal store with dynamic component + teleport to open details; highlights Pinia removes explicit mutation boilerplate and shows subscribers for cross-store reactions; the example repo boots fast and has been running in production for about a year — practical, reproducible code.

AI-written summary · about

  1. 0:00Introduction and background
  2. 11:32Demo app overview
  3. 16:54Vite and script setup demo
  4. 18:45Composition API refactor
  5. 29:49Composables and global state
  6. 31:54Pinia store architecture
  7. 37:12Pinia subscribers and patterns
  8. 43:36Q&A and conclusion
~/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.