We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From stackblits Nuxi 3.0.0-rc.10 20:34:00 RootDir: /home/projects/github-daawqv 20:34:00 Nuxt project info: 20:34:00
Linux
v16.14.2
3.0.0-rc.10
0.5.4
npm@7.17.0
vite
-
https://stackblitz.com/edit/github-daawqv?file=app.vue
After upgrade from rc.3 to rc.10 getting this bug While i use ClientOnly component with slots, after mount vue give error this hydration mismatch
ClientOnly
After some debug, while ssr, context property slots is empty object for this component(mb for all, i don't use render function from setup)
slots
https://github.com/nuxt/framework/blob/6309d223bb247764e32e90d196aca5fd4b913805/packages/nuxt/src/app/components/client-only.mjs#L7-L18
UPD: I fully copy ClientOnly code to another component and all work normally
[Vue warn]: Hydration node mismatch: - Client vnode: Symbol(Fragment) - Server rendered DOM: <span>server prop</span> at <ClientOnly placeholder="server prop" > at <App key=1 > at <NuxtRoot> warn2 @ vue.js?v=474e5c07:1272 handleMismatch @ vue.js?v=474e5c07:5065 onMismatch @ vue.js?v=474e5c07:4866 hydrateNode @ vue.js?v=474e5c07:4921 hydrateSubTree @ vue.js?v=474e5c07:5586 componentUpdateFn @ vue.js?v=474e5c07:5596 run @ vue.js?v=474e5c07:386 instance.update @ vue.js?v=474e5c07:5698 setupRenderEffect @ vue.js?v=474e5c07:5706 mountComponent @ vue.js?v=474e5c07:5531 hydrateNode @ vue.js?v=474e5c07:4936 hydrateChildren @ vue.js?v=474e5c07:5034 hydrateElement @ vue.js?v=474e5c07:5002 hydrateNode @ vue.js?v=474e5c07:4931 hydrateSubTree @ vue.js?v=474e5c07:5586 componentUpdateFn @ vue.js?v=474e5c07:5596 run @ vue.js?v=474e5c07:386 instance.update @ vue.js?v=474e5c07:5698 setupRenderEffect @ vue.js?v=474e5c07:5706 mountComponent @ vue.js?v=474e5c07:5531 hydrateNode @ vue.js?v=474e5c07:4936 hydrateSuspense @ vue.js?v=474e5c07:2450 hydrateNode @ vue.js?v=474e5c07:4959 hydrateSubTree @ vue.js?v=474e5c07:5586 componentUpdateFn @ vue.js?v=474e5c07:5596 run @ vue.js?v=474e5c07:386 instance.update @ vue.js?v=474e5c07:5698 setupRenderEffect @ vue.js?v=474e5c07:5706 mountComponent @ vue.js?v=474e5c07:5531 hydrateNode @ vue.js?v=474e5c07:4936 hydrate2 @ vue.js?v=474e5c07:4857 mount @ vue.js?v=474e5c07:4724 app.mount @ vue.js?v=474e5c07:8596 initApp @ entry.mjs:52 await in initApp (async) (anonymous) @ entry.mjs:60 Show 4 more frames vue.js?v=474e5c07:4861 Hydration completed but contains mismatches.
The text was updated successfully, but these errors were encountered:
It has been already reported: #14896
Sorry, something went wrong.
No branches or pull requests
Environment
From stackblits
Nuxi 3.0.0-rc.10 20:34:00
RootDir: /home/projects/github-daawqv 20:34:00
Nuxt project info: 20:34:00
Linux
v16.14.2
3.0.0-rc.10
0.5.4
npm@7.17.0
vite
-
-
-
Reproduction
https://stackblitz.com/edit/github-daawqv?file=app.vue
Describe the bug
After upgrade from rc.3 to rc.10 getting this bug
While i use
ClientOnly
component with slots, after mount vue give error this hydration mismatchAdditional context
After some debug, while ssr, context property
slots
is empty object for this component(mb for all, i don't use render function from setup)https://github.com/nuxt/framework/blob/6309d223bb247764e32e90d196aca5fd4b913805/packages/nuxt/src/app/components/client-only.mjs#L7-L18
UPD:
I fully copy ClientOnly code to another component and all work normally
Logs
The text was updated successfully, but these errors were encountered: