svelte-persistent-store icon indicating copy to clipboard operation
svelte-persistent-store copied to clipboard

Listen to window storage event and set that value in the localStorage store

Open Evertt opened this issue 4 years ago • 0 comments

See here: https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event

This makes sense right? Since the store is synced with localStorage, it should be bound both ways right? I'd suggest to implement this both for the readable and for the writable store.

Evertt avatar Mar 25 '21 19:03 Evertt