-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Hydration mismatch issues with SSR #5575
Comments
问题解决了麻烦艾特我一下 |
These issues are getting solved in the vue core that's why I'm closing this one. |
This is still an issue for case of When rendering should I create a separate issue? |
Probably the hydration mismatch of the |
So just to be sure, no workaround possible besides stopping to use n-checkbox until its fixed upstream I guess ? |
You don't need to stop using |
I notice the issue today, hope to get vue's feature quickly. |
TuSimple/naive-ui version (版本)
2.37.3
Vue version (Vue 版本)
3.4.6
Browser and its version (浏览器及其版本)
Chrome(120.0.6099.216)
System and its version (系统及其版本)
Linux(5.0)
Node version (Node 版本)
18.18.0
Reappearance link (重现链接)
https://stackblitz.com/edit/github-euic2u?file=nuxt.config.ts
Reappearance steps (重现步骤)
Run
npm run dev
and check console.Expected results (期望的结果)
No hydration issues.
Actual results (实际的结果)
Multiple <[Vue warn]: Hydration attribute mismatch> warnings are shown.
Remarks (补充说明)
This issue is related to vue v3.4.0 introducing attributes check for hydration mismatch PR.
I have already opened an issue on the vue/core repo.
However these type of issues are taken as special cases. Thus it's better to fix the library's implementation instead.I have tested almost all the components. The issues are related to the following ones
n-input
attributereadonly
n-checkbox
attributeid
of the labeln-image
attributeheight
andwidth
n-tree
attributedraggable
The text was updated successfully, but these errors were encountered: