Seb-L / pinia-plugin-persist

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

fix:modify persistence doesn't work well when using multiple pinia #38

Open L1150143576 opened 2 years ago

L1150143576 commented 2 years ago

when i use multiple store at the same time to init,the persisitence doesn't work well to update the local storage

L1150143576 commented 2 years ago

$subscribe miss mutations with type of direct immediately afterpatch mutations https://github.com/vuejs/pinia/issues/992

L1150143576 commented 2 years ago

Persistence doesn't work well when using multiple pinia stores. #36

bisubus commented 2 years ago

Is converting api to async really the only way? It's a serious decision that will make user's life more complicated.

L1150143576 commented 2 years ago

$subscribe handler invoked twice for single $patch operation