8000 Provide a mechanism for handling duplicate navigation · Issue #301 · vuejs/router · GitHub
[go: up one dir, main page]

Skip to content
Provide a mechanism for handling duplicate navigation #301
@mrts

Description

@mrts

This is regarding vuejs/vue-router#974.

The following comment vuejs/vue-router#974 (comment) has received 57 upvotes:

Vue Router should respect the "default" behavior of any "normal" link.

On a simple HTML page, when clicking on the link of the page we already are on, the page reload. And I think Vue Router should not alter this default behavior, because it's what most user using the web is expecting.

Another comment vuejs/vue-router#974 (comment) that has received 33 upvotes, suggests providing a new configuration option duplicateNavigationPolicy that provides reload, reject and ignore policies for handling duplicate navigation.

Is possible to consider providing a mechanism for handling duplicate navigation?

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

      0