
Proven Pinia Patterns
Lessons
1. Intro
2. When to use Pinia
3. Options vs Setup Stores
4. Modular Stores
5. Accessing State
6. Mutating State
7. Pinia Plugins
Mutating State
Learn how to mutate state directly, with actions, or with the $patch method. Bonus: Pinia’s $reset and $onAction methods!