Skip to content

Beta.5 Issue when unmounting component #3881

@AlexandreBonaventure

Description

@AlexandreBonaventure

Version

3.1.0-beta.5

Reproduction link

EDIT: https://github.com/AlexandreBonaventure/vue-beta-unmount-bug

I don't have a reproduction link because these kind of bugs are very difficult to isolate (I tried but failed to reproduce without exposing a lot of code). However, I can confirm this happened when we upgraded to beta-5 and not fixed following beta releases.
I've attached a video with the devtool to provide debugging info.
I'm willing to provide more information as necessary, and you guys can maybe help me figure things out as you have more insights on what's going on behind the scenes.

vue-bug.mp4

Steps to reproduce

The bug happens when unmounting a component tree

What is expected?

Should work as expected

What is actually happening?

TypeError: Cannot read property 'type' of null at unmountComponent

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