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

Broadcast Channel API #74

Open
asms opened this issue Sep 24, 2018 · 3 comments
Open

Broadcast Channel API #74

asms opened this issue Sep 24, 2018 · 3 comments

Comments

@asms
Copy link

asms commented Sep 24, 2018

The broadcast channel API does exactly what crosstab does, but better:
https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API

@AmarildoK
Copy link

It has a 76% global coverage. https://caniuse.com/#search=BroadcastChannel

@asms
Copy link
Author

asms commented Aug 21, 2019

I'm sorry. My original comment was quite short.

Crosstab was created back in 2014 when the Broadcast Channel API simply did not exist. In the absence of modern web APIs, this project solved the need for communication between browsing contexts. Crosstab would now be better as a polyfill for the Broadcast Channel API for that remaining 24%. The README should be updated to at least mention that a new API exists.

@AmarildoK
Copy link

AmarildoK commented Aug 22, 2019

@asms That certainly could be an option but you would have to rewrite the lib. To work like the Broadcast Channel API and there are already Polyfills so I don't really see the need to change this lib

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

2 participants