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

Managing State

Inside of our Vuex store, we can see here that we’re managing the state for events and user here. Let’s start by migrating this state over to Pinia.

Def