Skip to content

"[Vue warn]: Vue received a Component that was made a reactive object." when using <component :is="ComponentVar" #11921

Description

@LeftGamer1

Vue version

>=3.4

Link to minimal reproduction

https://codesandbox.io/p/sandbox/vue-3-5-test-m3my3n?workspaceId=4d0dccc1-4022-45d1-b1ff-925518ace372

Steps to reproduce

  1. Open console and see warns there
  2. Switch Vue version to <3.4 (exact same sandbox but with 3.3.0)
  3. Check console, its clear

What is expected?

Clear console without warns

What is actually happening?

Console spamming with warns

System Info

No response

Any additional comments?

Doesn't checked this on composition API.
Not sure if this a bug or something changed starting from 3.4...
Will be good if someone explain this to me o:

P.S.
Couldnt reproduce 3.3 in SFCPlayground, so.. codesandbox again, sorry for that :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions