Introduction To Pinia | Vue 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 27