Pinia is now the recommended store library for handling state management in vue, replacing VueX. In this video you will find everything you need to know about Pinia, and we will build a simple counter app to highlight all its functionalities.
Pinia: pinia.vuejs.org/
-----------------------------------------------------------------------------------------------------
Join my channel to support me to continue doing what I love!
/ @johnkomarnicki
-----------------------------------------------------------------------------------------------------
Patreon: / johnkomarnicki
Website: johnkomarnicki.com/
Twitter: / john_komarnicki
LinkedIn: / john-komarnicki
-------------------------------------------------------------------------------------------------------
Timestamps:
0:00 Introduction
1:48 Installing Pinia
2:32 Creating a Pinia Store
4:01 Defining & Using State
6:48 Mutating/Updating State
9:25 Computed Values (Getters)
10:45 Two Way Binding
11:55 Accessing State In Other Components
-------------------------------------------------------------------------------------------------------
#vue #vue3 #pinia
1 июл 2024