From Vuex to Pinia

Lessons

1. What is Pinia?

2:16

2. Why Migrate from Vuex?

4:15

3. Background & Setup

2:41

4. Defining a Store

3:19

5. Managing State

3:13

6. Managing Getters

4:00

7. Changing State with Actions

5:35

8. Next Steps

1:11

Changing State with Actions

If you want to follow along this lesson, you can checkout the branch 07-Begin.

Now that we’ve learned how to set and use state and getters with Pinia, the big question remaining is: “How do we change state in Pinia?”