I learn something new again as usual - never knew BroadcastChannel is a thing until now!
It will be interesting to see better browser support for it. localStorage had been a pain to share objects, especially with Edge due to its aggressive caching when I had to work with a tab/window sync problem at my work recently!
I learn something new again as usual - never knew
BroadcastChannel
is a thing until now!It will be interesting to see better browser support for it.
localStorage
had been a pain to share objects, especially with Edge due to its aggressive caching when I had to work with a tab/window sync problem at my work recently!Local storage event listeners are not supported everywhere but it still blows my mind when
You logout in one tab and get logged out automatically in other tabs.