joshnuss/svelte-persisted-store

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

webJose opened this issue ยท 2 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 ๐Ÿ“ฆ๐Ÿš€