You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rehydrating/merging the persisted data for the stores it is corrupting the local storage and store. I have 3 stores named common, crm-dashboard, and deal. We are configured to only persist common and deal.stages.
When rehydrating/merging the persisted data for the stores it is corrupting the local storage and store. I have 3 stores named common, crm-dashboard, and deal. We are configured to only persist common and deal.stages.
Here's my config:
We now have a legit local storage for Pinia.
That all looks correct. It contains only the things we've configured (via option.paths) to persist.
Likewise, the Pinia store looks correct using the Chrome Vue extension.
Here's the deal store state, which is correct.
Here's the common store state, which is correct.
The first indication of trouble is that local storage is now corrupted. Notice that nested in the common store are the common and deal stores!
And so too are the deal and common stores.
I'm using version 0.1.2 of pinia-persistedstate.
The text was updated successfully, but these errors were encountered: