You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it by using store.observe and store.watch but both are working on the same tab where the event was created. Is there a way to do it across browser tabs? Thanks.
The text was updated successfully, but these errors were encountered:
Storage events are what you need. And these actually only work reliably from different windows/tabs, not in the same one: https://html5demos.com/storage-events/
My store2 library has an extension (store.on.js), but i'd be shocked if there weren't a plugin for Marcus' that supports storage events as well. Hopefully he'll chime in with more on that.
I tried it by using store.observe and store.watch but both are working on the same tab where the event was created. Is there a way to do it across browser tabs? Thanks.
The text was updated successfully, but these errors were encountered: