Modern State Management with Vue 3
summary
Claims that the Composition API plus the reactivity primitives can replace Vuex for many apps and demonstrates exactly how: builds a small demo using ref and computed and onMounted with a 3 second fake fetch, shows a composable that holds state locally, then moves the state outside the exported function to make it global, uses readonly single source of truth to expose a store, compares explicit imports vs destructuring for IDE clarity, and offers provide/inject alternative as a Vuex-like pattern; deleting an item updates both views when state is global.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:22Options Api
- 3:21Recap of How To Write a Component in View 2 or in V3
- 12:10State Management
- 14:20Card Items
- 16:18Card Items Alternative
- 17:09Local State Management
- 19:37The Provide and Checked Pattern
related talks
25mState Management with Composition API
37mThe Importance of State Management in Vue
49mVue and Vuex: Structure your app with centralized state management
22mYou might not need Vuex
46mComposable Vue 3
25mHow to stay sane while managing complex state, in Vue js
21mVue 3 and Composition API
28mComposition API: a Quick overVue
