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

Pinia Plugins

We’ll finish up this course by taking a look at an important tool that can help us expand Pinia’s functionality: plugins.

A plugin is a way to extend an API so that it can do things beyond what comes out-of-the box. It’s impossible to anticipate every possible need that a developer working with Pinia will have, but since we can create plugins, we are able to add on to Pinia so that