Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark the component as Raw or use shallowRef #209

Open
mrleblanc101 opened this issue Jul 20, 2023 · 0 comments
Open

Mark the component as Raw or use shallowRef #209

mrleblanc101 opened this issue Jul 20, 2023 · 0 comments

Comments

@mrleblanc101
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant