Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Evertt opened this issue Mar 25, 2021 · 0 comments

Comments

@Evertt
Copy link
Contributor

Evertt commented Mar 25, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant