Skip to content

Watchers depending on current route re-evaluated after unmount #12703

@Akryum

Description

@Akryum

Version

2.7.8

Reproduction link

codesandbox.io

Steps to reproduce

Have a watcher with a dependency on the current route. Unmount the component.

What is expected?

No watcher effect is called

What is actually happening?

Watcher effects are called


Looks like it's the same issue as vuejs/core#2291 for Vue 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions