Skip to content

Mark the component as Raw or use shallowRef #209

@mrleblanc101

Description

@mrleblanc101

In Vue 3 I get this warning:

[Vue warn]: Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with markRaw or using shallowRef instead of ref.
Component that was made reactive: {__file: 'src/svg/grains/mais.svg', render: ƒ}render: ƒ render(_ctx, _cache)__file: "src/svg/grains/mais.svg"[[Prototype]]: Object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions