-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
[SSR Teleport] An error occurred when the disabled attribute has different values in multiple Teleport #7169
Comments
你的意思是给容器添加 |
I think this usage does not conform to the documentation. It is pointed out in the documentation that when rendering a teleport in ssr, its target container should only contain the rendered content of the teleport, that is, the initial container should not contain child nodes |
Replace the teleport content when handling during SSR. |
duplicate of #6152 ? |
I feel that the reasons for the two issues are different |
I feel like the problem has been fixed Link |
Vue version
3.2.45
Link to minimal reproduction
https://sfc.vuejs.org/#__DEV____SSR__eNp9kM1uwyAQhF8Fba8x3C1qqX0OLna8bYnMj5bFjRT53bu4jlQ1Uk4ww8wH7A3ectZrRejBljP5zKog1zy4aM2vIVsRjCEvI6MopezsV+XnVwdTujoYrBFjz8kZ44I5EStOEnjZE6qffRmnBVuHqaKUWljieWC8sjXtSpHmXn+Gu3enypzi8L4v1hzygdPE8Xo4gQ/N7sKY9aWkKD+/tYY7DoqDXu1O82Q0TTv4Ys6lN6Z8nNu8LkUn+jSy01Qj+4AaS+gmSt8FScAOTn8YRswVqSOMMxLSM+a/6AO3YTcXN9h+AJ+JmU4=
Steps to reproduce
There is a difference between local and the
Vue SFC Playground
local
// entry-server.js
then modify the content of
#box
toWhat is expected?
render the content correctly
What is actually happening?
[Vue warn]: Hydration children mismatch in
the wrong DOM was matched on the client
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: