
vue-pinia-best-practices
PopularPinia stores, state management patterns, store setup, and reactivity with stores.
2.7Kstars
0forks
Updated 7/11/2026
SKILL.md
readonlyread-only
name
vue-pinia-best-practices
description
Pinia stores, state management patterns, store setup, and reactivity with stores.
version
1.0.0
Pinia best practices, common gotchas, and state management patterns.
Store Setup
- Getting "getActivePinia was called" error at startup → See pinia-no-active-pinia-error
- Setup stores missing state in DevTools or SSR → See pinia-setup-store-return-all-state
Reactivity
- Store destructuring stops updating UI reactively → See pinia-store-destructuring-breaks-reactivity
- Store methods lose context in template calls → See store-method-binding-parentheses
State Patterns
- Filters reset on refresh or can't be shared → See state-url-for-ephemeral-filters
- Building production app without DevTools or conventions → See state-use-pinia-for-large-apps





