-
Notifications
You must be signed in to change notification settings - Fork 765
[Vue warn] toRefs() expects a reactive object but received a plain one - <UNavigationMenu /> #4257
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
Comments
This is an upstream issue introduced in |
Yup looks like it to me! |
Yikes, that reka-ui release was fairly significant to get rolled into Nuxt UI so quickly... why didn't it stay pinned to
The issue mentioned here has been marked closed last week, but is not available. |
@theflyingape What do you mean so quickly? It was updated there: https://github.com/nuxt/ui/pull/4234/files but hasn't been released yet. You can set the resolution in your own app to |
I see, so Nuxt UI project upstream dependencies like this one (which I never heard of until yesterday) that are packaged & deployed is the end user / customer's responsibility. I am grateful that its open source community opened this ticket and the response to its root cause was identified and reported "so quickly" -- thank you I am not trolling. This Nuxt / Nuxt UI stack gave me pause to choose, because of dependency depth. But, overall documentation and ticket / resolution activity was enough assurances to move forward. And I stage all our development changes, including regular OS & package updates, with app regression testing before deploying out to the team. I imagine folks got the same level of shock when this issue broke stuff immediately, before even getting to a "hero page", etc. It begs the feedback we are having now -- please accept this for what it is. Onward. |
No actually I think you make a good point, the |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.17.4
Reproduction
https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks
Description
When using the UNavigationMenu component from Nuxt UI 3 in a fresh Nuxt 3 app, the following warning appears in the browser console:
This occurs even when rendering the component barebones:
pages/index.vue:
Minimal Reproduction
Repro created using Nuxt 3 + Nuxt UI 3 starter structure.
package.json:
Notes
• Reproduces consistently in local dev.
• Does not reproduce on Codesandbox with the Nuxt UI 3 starter (possibly due to different runtime setup).
• No functional issues observed so far, but the warning pollutes the console.
• This warning has only recently started appearing in the console logs, despite no code changes to this component on our end — possibly introduced in a recent dependency update.
The text was updated successfully, but these errors were encountered: