Тёмный
No video :(

Vuex vs Pinia vs Composables (Vue 3 State Management) 

Make Apps with Danny
Подписаться 30 тыс.
Просмотров 10 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@MakeAppswithDanny
@MakeAppswithDanny 2 года назад
Please Like, Share, Subscribe & Comment - it all helps me create more content for you! 👉 Vue 3 Composition API Course: dannys.link/compositionapi 👉 My Courses: dannys.link/courses 👉 Download Fudget: www.fudget.com 👉 My VSCode Setup: dannys.link/vscodesetup 👉 DONT CLICK THIS: dannys.link/dontclick
@rajikkali2381
@rajikkali2381 Год назад
Great video! You can however use actions to manipulate data in state without any issue, similarly to Pinia. I still think there are some use cases for mutations though.
@MakeAppswithDanny
@MakeAppswithDanny Год назад
You can, but it's not what they recommend: vuex.vuejs.org/guide/actions.html
@sandorturbucz425
@sandorturbucz425 7 месяцев назад
So which one do you prefer for global state mgmt? It's kind of hard to decide between Pinia or just composables.
@MakeAppswithDanny
@MakeAppswithDanny 7 месяцев назад
I prefer Pinia. Mainly because of all the debugging capabilities with Vue devtools in Chrome 👍
@miidiin
@miidiin Год назад
Very informative, Pls can composable be used along with vuex?
@MakeAppswithDanny
@MakeAppswithDanny Год назад
Sure! I use composables alongside Pinia.
@musha0970
@musha0970 4 месяца назад
​@@MakeAppswithDannyso if it's a reusable utility like `useWindowSize` or `useModal`, there's basically no need to use Pinia for that and we could just create a composable right? And at the same time we might use Pinia for state management.
@MakeAppswithDanny
@MakeAppswithDanny 4 месяца назад
@@musha0970 Yes, I don't generally use Composables for state management, more for utilities 👍
@lmartinez2205
@lmartinez2205 2 месяца назад
Es desinformación, desde actions de vuex podes modificar el state recibiendolo como variable en el primer argumento. Llevo años usando vuex solo con getters, actions y state.
@MakeAppswithDanny
@MakeAppswithDanny 2 месяца назад
It might be possible, but this is not the intended use of actions: "Actions are similar to mutations, the differences being that: ● Instead of mutating the state, actions commit mutations." vuex.vuejs.org/guide/actions.html
Далее
Learn Pinia in 30 MINUTES! (Vue JS 3)
33:58
Просмотров 118 тыс.
The Difference Between Vue and React
10:27
Просмотров 35 тыс.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 8 млн
Chelsea gym be like.. 😅⚽️
00:20
Просмотров 12 млн
The Pinia Crash Course
34:40
Просмотров 16 тыс.
Build your own Custom Composables in Vue
12:13
Просмотров 41 тыс.
What is a Composable? (Vue 3)
5:28
Просмотров 21 тыс.
Vuex: Intro Tutorial
5:24
Просмотров 85 тыс.
Vuex vs Pinia | Vue 3 Tutorial
6:38
Просмотров 28 тыс.
useAsyncData vs. useFetch 🤯
15:20
Просмотров 9 тыс.
A Better Approach To Data Fetching In Nuxt?
4:51
Просмотров 7 тыс.
Learn Pinia Setup Stores in 30 MINUTES! (Vue JS 3)
33:41
This Library Makes State Management So Much Easier
12:07