Comments (2)
Hi, can you provide a repo so i can reproduce and see what's wrong?
from pinia-plugin-persistedstate.
If you pass the dexie db "as is", it won't work.
The storage
options needs a StorageLike
object typed like this
export type StorageLike = Pick<Storage, 'getItem' | 'removeItem' | 'setItem'>
like your usual localStorage
Also, dexie is a database so it does async calls, so I'm not sure it is a solution.
from pinia-plugin-persistedstate.
Related Issues (20)
- Is navigator.storage.persist() supported? HOT 1
- 持久化状态可以自定义时间 HOT 1
- 执行了$hydrate并没有从存储里面恢复数据
- update to @pinia/[email protected] HOT 3
- Application crashes when cookies are disabled
- Opt-in/out persistent cookies HOT 1
- Store lost after a page refresh HOT 1
- [core] Watch localstorage for changes from other tabs HOT 5
- How do I get persisted state as a cookie in my Nuxt 3 server HOT 3
- How to import "persistedState" in Nuxt 3? HOT 5
- Setting store values in succession breaks cookie persistence ?? HOT 3
- Programaticaly Prevent Hydration HOT 1
- Cookie warning on Nuxt 3 when I set persist to `true` HOT 1
- Persistance not working on latest Nuxt 3 project HOT 3
- Dynamic class binding not working as expected with Session Storage HOT 4
- I use persistence in Vue3 but it doesn't work HOT 3
- Cannot start nuxt after adding pinia-plugin-persistedstate/nuxt HOT 1
- [core] only hydrate values present in `paths`
- [nuxt] Cookie persistence broken on Netlify builds HOT 4
- Calling $persist within the store file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinia-plugin-persistedstate.