joshnuss / svelte-persisted-store

A Svelte store that persists to localStorage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Th storage event handler may introduce values in session storage

webJose opened this issue · comments

I haven't experimented this, but by looking at the code, the storage event handler will introduce changes if the key matches. But what if the store is using session storage and not local storage? For session storage stores, the storage event should not be monitored.

Confirmed, this is a bug. It will be fixed in a future release.

🎉 This issue has been resolved in version 0.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀