-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add support for cross-tab notifications #5
Comments
Indexedb observers are now working behind a flag in Canary |
That's great. I'm thinking about an initial release using localstorage to propagate cross tab events. After IndexedDB events gets implemented without a flag from one more browser engine, we can plan upgrading the architecture. |
Thanks a lot for working on this! |
Awesome! If you have any time to take a look at the current API (see sample here: |
Just opened PR #6. It would be great to receive some feedback and then release during the weekend. |
Just meged #6 and released v1.1.0 which includes cross-tab observation. |
Thanks a lot. Going to implement this now |
Hi! Is this feature supported in all browsers? It would be useful to have a note in the README about current browser support. Also, are there any plans to merge this feature into the main repo? Edit: I'm only interested in support for IndexedDB, not localStorage. |
@deiu This is based on localStorage events, so it should work wherever localStorage is supported. |
Thanks for the quick reply! I see. I knew the eventListener for localStorage is available but for some reason I'm thinking by default of IndexedDB when using localForage. After reading the thread again, I see you mentioned waiting for native IndexedDB support in browsers. |
As noted in:
localForage/localForage#104
localForage/localForage#244
localForage/localForage#622
The text was updated successfully, but these errors were encountered: