Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Navigation within exported page fails while hydrating #1051

Open
@NOtherDev

Description

@NOtherDev

I have a website exported. While the initial page is hydrated (hydrate_target function runs) whenever I click on any link to other page of my website, it also gets hydrated. Two simultaneous hydrate_target functions are running and the latter one apparently uses global variable initial_data that keeps the data preloaded for the first one, thus it loads the components with invalid props, making it fail.
The bug does not appear if I wait for the first hydrate to finish before clicking the link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions