Follow

I just released Strophe.js version 1.4.0.

This release adds support for running a websocket connection inside a Shared Worker, enabling you to share a single XMPP connection between multiple tabs.

github.com/strophe/strophejs/r

· Mastodon Twitter Crossposter · 1 · 5 · 4

@jcbrand
This is great! Congratulations on the release 🙂

@mattj

When using it in Converse, the state and UI in all tabs change based on incoming stanzas, but not for outgoing stanzas.

We need a way to also sync those state changes across tabs.

Redux has good support for this, so I'm tempted to migrate to it in order to, amongst other things, solve this problem

That would however be a lot of work, so it might be a while before this feature is working in Converse

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!