YUNOVA · Vue.js · Module 12: Architecture and performance
Pinia plugins and state persistence
Pinia plugins and state persistence
Key points
- Pinia plugins add features to every store.
- A persistence plugin saves store state to localStorage.
- Persist only what is needed and never secrets.