Proven Pinia Patterns

Lessons

1. Intro

2:00

2. When to use Pinia

2:07

3. Options vs Setup Stores

2:29

4. Modular Stores

4:08

5. Accessing State

3:29

6. Mutating State

3:50

7. Pinia Plugins

6:02

Options vs Setup Stores

With Pinia, there are two different ways to define a store. These two types of stores are known as the Options Store and the Setup Store. You can choose w