Closed
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.