Closed
Description
Vue version
3.5.12
Link to minimal reproduction
Steps to reproduce
Switch SSR toggle on and off in playground
What is expected?
The counter should show "1" in both cases as there is only a single Child component and changing the v-show attribute (see Toggle.vue) should not cause component to be recreated. At the very least, vue should behave the same regardless of whether the app is using SSR or not.
What is actually happening?
If SSR toggle is on, you will see the counter showing "2", indicating that the component was recreated. If SSR toggle is off, the component is not created again after the v-show change.
System Info
No response
Any additional comments?
Making any of the async components sync, removing one of the nested Wrapper components or changing v-show to v-if will make the bug disappear.