Seb-L / pinia-plugin-persist

Persist pinia state data in sessionStorage or other storages.
https://Seb-L.github.io/pinia-plugin-persist/
MIT License
214 stars 37 forks source link

Multiple Pinia stores seems to break persistence #21

Closed jaitaiwan closed 2 years ago

jaitaiwan commented 2 years ago

I'm currently working on getting a minimum reproducible example for this problem but long story short it seems to be that if:

Only 1 type of storage will be initialised and only one store will have it's data available there.

Will update the issue with more info and possibly a PR as I go.

jaitaiwan commented 2 years ago

False alarm apparently. Happens when pinia store is used before pinia is added to the vue app.