Overview of pinia-plugin-persistedstate features
mainThe plugin provides several capabilities for managing state persistence:
- API Compatibility: Uses an API similar to
vuex-persistedstate. - Granular Control: Supports per-store configuration and multiple configurations per store.
- Extensibility: Allows for custom storage engines and custom data serializers.
- Lifecycle Hooks: Provides pre/post persistence and hydration hooks.
Note for Nuxt users: This package exports a dedicated module for better Nuxt integration and out-of-the-box SSR support. Refer to the Nuxt-specific documentation for setup.