filmov
tv
Vue State Management with Composition API - No need for vuex & vuex-persist?

Показать описание
At the end of the video, we are going to save data of the global state into the Local Storage.
What do you think? Can this approach replace vuex and vuex-persist?
What pattern do you prefer for a state management?
Timestamps:
0:00 - Intro
1:27 - Creating a project with vue-cli
2:38 - Local state for movie list and move it to the global store
7:30 - Getter for number of movies
8:27 - UserLogin component, form and fake API call
13:25 - User module (user's global state)
14:42 - Saving user's data into the global state
16:55 - UserProfile component with user's full name getter
19:35 - Store if the user is logged in
24:00 - Store "loading" state
26:34 - Add Movie action
30:00 - Remove Movie action
32:20 - Logout action
33:11 - Global state module reactive to changes in other module
37:03 - Save global state to the Local Storage
41:38 - Thanks for watching
What is State Management? (Vue 3)
Vuex vs Pinia vs Composables (Vue 3 State Management)
State Management with Composition API by Vanessa Otto
Vue JS 3: Composition API for State Management (Vuex Killer?)
3 Ways to Persist Pinia State
State management in Vue.js v3. What? When? How?
Vue State Management WITHOUT Vuex?
Modern State Management with Vue 3 - VANESSA OTTO, Vue.js Live 2021
Pinia Simplified
Vuex Basics in Vue 3 with Composition API in 6 minutes
Vanessa Otto - State Management with Composition API - Vuejs Amsterdam 2022
Why You Need This Library for Vuex in Vue 3
Vue State Management with Composition API - No need for vuex & vuex-persist?
Vue 3 | State Management With The Composition API ( Vuex Alternative? )
Proven Pinia Patterns - VueConf US 2023
How to Use the Vue 3 Composition API for Global State Management (without Vuex)
Vue JS with Composition API & Pinia Full Tutorial
pinia vs vuex state management library for #vue composition api
How to Organize Pinia Stores
Master VueJS Reactive States with Composition API #VueJS
Modern Vue.js Crash Course 2025 | with TypeScript + script setup + Composition API
Vue JS State Management with Pinia! | Pinia & Composition API Tutorial
Master VueJS Composition API & Reactive States #VueJS
Scalable Front End Architecture with the Composition API and Composable Functions by Will Marple
Комментарии