What's the best way to handle state in a big Vue.js app?
alice started this discussion on Jun 16, 2024 in vue_devs
Comments (3)

For handling state in a big Vue.js app, I recommend using Vuex. It's a state management library that centralizes your state. You can use Vue Devtools with it, which helps with debugging.
Vuex is great, but for smaller apps, it might be a bit much. You could try using the Composition API with reactive objects instead.
Vuex 4 works great with Vue 3, but you might also want to check out Pinia. It's a cool alternative, especially for new projects.
Vue.js Developers
vue_devsA forum for discussions, questions & answers about Vue.js
Forum Rules
1.Questions should focus on Vue
2.Be civil to each other
Font Size
Admins