Skip to content

3.2 Beta issue: router link effect is being run before the route component is unmounted #4148

@AlexandreBonaventure

Description

@AlexandreBonaventure

Version

3.2.0-beta.1

Reproduction link

https://github.com/AlexandreBonaventure/vue3.2-bug
https://codesandbox.io/s/funny-monad-3sgle

Screen Shot 2021-07-19 at 10 14 16 AM

Steps to reproduce

Click on 'Go to Route A' then on 'Go to Route B' and observe the error thrown in the console

What is expected?

It should not throw any error and switch route correctly (works with vue<3.2)

What is actually happening?

Error

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