Skip to content

<Link> manipulating history even clicking the same one #122

Closed

Description

@nodegin

Hello, I found that <Link> is manipulating browser history even clicking the same link.

For example I have the link <Link href="/test">Go test</Link> which appears in path / and /test, then if I click this link within /test page, it will also pushes itself to browser history, where native <a> will not act like this.

Is there any solution in order to prevent this weird behavior?

Activity

  1. nkzawa commented on Oct 28, 2016

    @nkzawa
    Contributor

    That sounds a bug. I think <Link /> should behave like <a/>.

  2. locked as resolved and limited conversation to collaborators on May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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