vue-pinia-best-practices
hyf0/vue-skills/skills/vue-pinia-best-practices/SKILL.md
Pinia stores, state management patterns, store setup, and reactivity with stores.
Skill2.9k starsChanged 8 months ago
What's in it
- Store Setup
- Reactivity
- State Patterns
--- name: vue-pinia-best-practices description: "Pinia stores, state management patterns, store setup, and reactivity with stores." version: 1.0.0 license: MIT author: github.com/vuejs-ai --- Pinia best practices, common gotchas, and state management patterns. ### Store Setup - Getting "getActivePinia was called" error at startup → See [pinia-no-active-pinia-error](reference/pinia-no-active-pinia-error.md) - Setup stores missing state in DevTools or SSR → See [pinia-setup-store-return-all-state](reference/pinia-setup-store-return-all-state.md) ### Reactivity - Store destructuring stops updating UI reactively → See [pinia-store-destructuring-breaks-reactivity](reference/pinia-store-destructuring-breaks-reactivity.md) - Store methods lose context in template calls → See [store-method-binding-parentheses](reference/store-method-binding-parentheses.md) ### State Patterns - Filters reset on refresh or can't be shared → See [state-url-for-ephemeral-filters](reference/state-url-for-ephemeral-filters.md) - Building production app without DevTools or conventions → See [state-use-pinia-for-large-apps](reference/state-use-pinia-for-large-apps.md)
More agent context in hyf0/vue-skills
9 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- create-adaptable-composableskills/create-adaptable-composable/SKILL.md
- vue-best-practicesskills/vue-best-practices/SKILL.md
- vue-debug-guidesskills/vue-debug-guides/SKILL.md
- vue-jsx-best-practicesskills/vue-jsx-best-practices/SKILL.md
- vue-options-api-best-practicesskills/vue-options-api-best-practices/SKILL.md
- vue-router-best-practicesskills/vue-router-best-practices/SKILL.md
- vue-testing-best-practicesskills/vue-testing-best-practices/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

