-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: transitionscope:hydration
Description
Vue version
3.5.14
Link to minimal reproduction
App.vue
:
<template>
<Transition appear>
<div class="imaclass">I have some classes</div>
</Transition>
</template>
Steps to reproduce
When you open the reproduction you will see the following message in the lower right corner: 'Hydration completed but contains mismatches.'
More info:
[Vue warn]: Hydration class mismatch on
<div class="imaclass v-enter-from v-enter-active">
- rendered on server: class="imaclass v-enter-from v-enter-active"
- expected on client: class="imaclass"
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
You should fix the source of the mismatch.
at <BaseTransition appear=true persisted=false mode=undefined ... >
at <Transition appear=true >
at <Repl>
What is expected?
I expect no hydration mismatch.
What is actually happening?
There is a hydration mismatch.
System Info
Any additional comments?
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: transitionscope:hydration