quarrant / mobx-persist-store

Persist and rehydrate observable properties in mobx store.
268 stars 14 forks source link

support versioning #116

Closed layerok closed 4 months ago

layerok commented 5 months ago

Hi, thanks for creating the high quality library. The only thing I am missing is version support. I know that I can change the key to reset the state in the storage, but I don't like this approach because the old version of state won't be automatically removed from the storage. And I don't want to pollute user's local storage.

So this PR adds versioning support)

quarrant commented 4 months ago

Hi! Great job!

quarrant commented 4 months ago

in version 1.1.5