-
Notifications
You must be signed in to change notification settings - Fork 131
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
Updating to Vue 3.4.5 breaks component #264
Comments
Vue 3.4.4 seems to be the last without this warning. Would be lovely to get this sorted, even if it's just a warning. |
After upgrading the vue version, the warning has disappeared. |
I did test with Vue 3.4.14 just now and warning is still there and extending nodes of JSON by click on brackets doesn't work. |
|
Can anyone provide a way to reproduce, for example https://stackblitz.com/edit/vitejs-vite-utj7dw?file=src%2FApp.vue |
Hi @leezng ! I did try to reproduce on the stackblitz you linked but couldn't. Perhaps full contents of warning from my project will contain some clues?
I am using vue-json-pretty within Quasar's Extension Item and there are multiple on one page, like 100+ |
Same as robson, this just blew up in my face out of nowhere(I realized i updated all dependencies last week so i only now noticed this big-ass bug today). pretty 2.3.0, vue 3.4.19. it's kinda critical to get this fixed ASAP |
Have you used dynamic components, such as for loops or asynchronous rendering, such as: https://stackoverflow.com/questions/76671447/missing-ref-owner-context-in-production Can you provide your usage, including some context? |
@NicolasReibnitz What is your vite version? Is ssr used? |
That'd be v2.9.17. Seems rather old, doesn't it? Apparently, @quasar/app-vite didn't update the Vite dependency for quite some time. 🤷 |
The problem has been located. When the vite version is less than 4 and the vue version is greater than 3.4.4, a warning will appear. I guess this may be some kind of correlation between vue and vite. Update to Finally, it is recommended to update the following dependencies when upgrading to [email protected](see https://blog.vuejs.org/posts/vue-3-4) |
i was able to update to vite 2.9.17, vue 3.4.21, pretty 2.3.0 but no change. still broken. i will be moving to another library. |
Update to |
Updating from Vue 3.3.13 to 3.4.5 breaks functionality of the component throwing the following warning:
[Vue warn]: Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.
The text was updated successfully, but these errors were encountered: