Skip to content

Unexpected remounting question #520

Open
@bebbi

Description

I think #478 has a great question incl repro.

My use-case is to simulate an "optional parameter" in an editor that should not get remounted:

    <Router basepath="/">
      <Editor path="/" />
      <Editor path="/:someId" />
    </Router>

Once someId is processed, we navigate('/').
But then, the editor gets remounted and loses state. Can anyone help with the answer to the linked question?

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