Skip to content

Multi-context & multi-page environment #1096

@mrdimidium

Description

@mrdimidium

First of all, thank's for the amazing project!

I would be interested about multiple pages and page persistence support (cookies, localStorage, etc.).

The simplest example that comes to mind: we want to test that collaborative editing works in Google Docs. We open two tabs (they share a single authorization cookie), change the text in the first, and check that the changes have been applied in the second.

In the current version, we could spin up two instances, but then we can't verify that local synchronization is working (like Logux, which uses a localStorage subscription).

I guess your cloud runs multiple instances, and the load balancer allows to connect to a free instance. But it seems that this approach requires building your own balancer, which in the case of Chromium is the browser process.

It also seems that without support for multiple JS environments, you can't support service workers, web workers, and Chrome-style extensions.

I understand that you work with a small team with limited resources, I'm just interested to know your long-term plans.

P.S. Related to #882

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions