And then the user opens your website in a handful of tabs, and everything breaks because having enough open SSE connections blocks ordinary http requests to that origin.
You can avoid that by using a shared worker for all your tabs, but then you lose the simplicity advantage.
And then the user opens your website in a handful of tabs, and everything breaks because having enough open SSE connections blocks ordinary http requests to that origin.
You can avoid that by using a shared worker for all your tabs, but then you lose the simplicity advantage.