Skip to content

Duplicated browser tabs can share the same Hyper tab-id and keep route state in lockstep #25

@jtlocsei

Description

@jtlocsei

Hi, I think I’ve run into a tab identity issue in Hyper.

If I open a Hyper page and then duplicate the browser tab, the duplicated tab doesn’t seem fully independent from the original. After that, navigation/state that should be tab-local moves in lockstep between the two tabs.

For example:

Open a Hyper app page.
Duplicate the browser tab.
In one tab, navigate to another route with h/navigate or update a path-cursor.
The other tab’s URL/route also changes.

Expected:
Duplicated tabs should become independent Hyper tabs.

Actual:
Duplicated tabs behave like one shared Hyper tab until one gets a fresh reload.

I was seeing this with h/navigate and query-param-backed UI state.

Fresh separately-opened tabs seemed fine for me; the issue showed up specifically when duplicating an existing tab.

Happy to try a minimal repro app if that would help.

It’s not a big deal for me, and I worked around it app-side by detecting same-tab reuse in the browser and forcing a one-time reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions