Skip to content

[v6] Routers could accept history as optional prop #7671

@Bekaxp

Description

@Bekaxp

Issue

We have a widget system where the history needs to be shared between all of them. Currently the new Routers (Browser, Hash and Memory) do not have any option to pass an already existent history, which will be used instead of always creating a new one.

Suggestion

Is there a good reason why not extend these Routers with an additional history prop, which will be used in the following lines:

Thank you.

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