-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Vue SSR hydration error (functional components) #7285
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
scope: ssr
Comments
Minimal reproduction without tsx. |
It works fine in tests. core/packages/server-renderer/__tests__/render.spec.ts Lines 693 to 698 in 6493da5
core/packages/server-renderer/src/render.ts Lines 223 to 225 in 0e09761
The code here is not executed, resulting in the TextVnode not being rendered on the server side in sfc playground. Similar to #6997. It seems that there are two instances of vue. |
zhangzhonghe
added a commit
to zhangzhonghe/core
that referenced
this issue
Dec 8, 2022
@zhangzhonghe I love you |
zhangzhonghe
added a commit
to zhangzhonghe/core
that referenced
this issue
Feb 4, 2023
zhangzhonghe
added a commit
to zhangzhonghe/core
that referenced
this issue
Apr 24, 2023
Anything new? |
yyx990803
added
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
and removed
🔩 p2-edge-case
labels
May 29, 2024
Any updates? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
scope: ssr
Vue version
3.2.25
Link to minimal reproduction
https://stackblitz.com/edit/github-zgzicn-7sfwqr?file=src%2FFunctionalComponent.tsx
Steps to reproduce
In SSR mode:
<div>Text node {'expression'}</div>
)What is expected?
No errors/warnings
What is actually happening?
Hydration error
Logs:
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: