Тёмный

5 Elegant ways to use Pinia 🍍 

Vue Mastery
Подписаться 71 тыс.
Просмотров 13 тыс.
50% 1

Discover how to use Pinia like a pro by watching its creator Eduardo San Martin Morote demonstrate 5 elegant ways to use Vue’s state management library. Join Vue Mastery to watch the rest of this course and all of our other premium Vue js courses 👉 www.vuemastery.com/courses
Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials 👉 www.vuemastery.com/courses
0:00 Introduction
0:26 Using the Router within a Store and vice versa
16:34 Course continues on VueMastery.com

Наука

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

 

29 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@VueMastery
@VueMastery Год назад
For more expert Pinia content, check out VueMastery.com 🍍👉 vuemastery.com/courses/
@akdasa
@akdasa Год назад
Why does STORE need to manage routes at all? In my opinion, the storage should not contain logic at all, except for data modifications.
@devegram
@devegram 5 месяцев назад
He is just using the Pinia Global State to provide the Router in the Global Scope, not for any kind of processing or etc.., sure he can do it another way, but this is just a simple direct approach.
@davidvelasquez9356
@davidvelasquez9356 Год назад
It's funny seeing some comments criticise a CORE DEVELOPER WHO WROTE THE TOOLS he's discussing.
@fennecbesixdouze1794
@fennecbesixdouze1794 9 месяцев назад
Being a great library dev and being able to teach or explain something are not overlapping skills. Teaching and presenting concepts requires breaking something down logically in a way that flows from beginning to end. Whereas being a great library dev usually means seeing the entire system in all its complexity as a cohesive whole with no beginning and no end. Learning to write application code by reading code samples in documentation is a horrendous idea, because library devs are particularly interested in complex interactions and edge cases that you shouldn't be writing in your application code.
@matthewpulls441
@matthewpulls441 Год назад
Thank you for making Pinia we ❤ it!
@ahmaddawood9691
@ahmaddawood9691 5 месяцев назад
Thank you ...great tutorial .... one of the main reasons i switched from react to vue is Pinia ...really great, scaleable and easy state management Library :) :)
@ColinRichardson
@ColinRichardson Год назад
setup functions are always 'the win'.. I was wondering why we couldn't just use `export router = blarblar` before.. and I am glad to find out.. Oh, you CAN.. I was told it didn't work like that.. but that was when vue3 was not official yet.. so I am glad we get back to the easy way again.
@dasten123
@dasten123 11 месяцев назад
15:46 that PR you were talking about, is it merged yet? Does this work now?
@posva13
@posva13 3 месяца назад
yes, it works now
@Wojtasvx
@Wojtasvx Год назад
Something is wrong with that code. Store shoudn't know about router. For example if button trigger loggout there should be method that call some store with user logout and in the next line should be router.push. If u want to encapsulate this code u should use composable.
@dmitryryabtsev9153
@dmitryryabtsev9153 Год назад
Debatable.
@DarkzarichV2
@DarkzarichV2 8 месяцев назад
Absolutely right. Mixing those different concerns will bring troubles later
@lphiro5602
@lphiro5602 5 месяцев назад
code font read hard .
@ScubyDooBy69
@ScubyDooBy69 Год назад
somewhere SOLID is crying
Далее
Getting Started with Pinia | Crash Course
10:02
Просмотров 22 тыс.
Dissecting the Pinia Source Code
20:34
Просмотров 6 тыс.
Learn Pinia in 30 MINUTES! (Vue JS 3)
33:58
Просмотров 114 тыс.
My NEW default for state management in Angular
6:21
Просмотров 29 тыс.
Proven Pinia Patterns - VueConf US 2023
31:34
Просмотров 13 тыс.
How to Organize Pinia Stores
6:17
Просмотров 10 тыс.
Introduction To Pinia | Vue 3
12:52
Просмотров 7 тыс.
The Difference Between Vue and React
10:27
Просмотров 30 тыс.
Кто производит iPhone?
0:59
Просмотров 417 тыс.
Lid hologram 3d
0:32
Просмотров 9 млн
Самый СТРАННЫЙ смартфон!
0:57
Просмотров 34 тыс.