Skip to content

get ref error when use dynamic component by defineAsyncComponent #13962

@kangwuyi

Description

@kangwuyi

Vue version

3.5

Link to minimal reproduction

null

Steps to reproduce

[Vue warn]: Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.

What is expected?

null

What is actually happening?

null

System Info

Any additional comments?

No response

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