You might not need Vuex
summary
Claim: you might not need Vuex — concrete alternatives are shown using the Vue 3 composition API with a Pinia store, dependency injection via provide/inject plus reactive objects, and storing local UI state in Apollo client local cache. A live-coded Rick and Morty favorites demo implements two mutations (add/remove) as cache resolvers, briefly hiccups when internet drops but ultimately works, and uses Apollo and Vue devtools to inspect state.
AI-written summary · about
chapters (6)
related talks
21mModern State Management with Vue 3
33mPanel Discussion – State Management
37mThe Importance of State Management in Vue
25mState Management with Composition API
25mHow to stay sane while managing complex state, in Vue js
35mMaking Vue with Vue
37mAll you need is l̶o̶v̶e Apollo Client
49mVue and Vuex: Structure your app with centralized state management
