You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/essentials/conditional.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ The difference is that an element with `v-show` will always be rendered and rema
98
98
99
99
`v-show` doesn't support the `<template>` element, nor does it work with `v-else`.
100
100
101
-
## `v-if` vs `v-show`
101
+
## `v-if` vs.`v-show`
102
102
103
103
`v-if` is "real" conditional rendering because it ensures that event listeners and child components inside the conditional block are properly destroyed and re-created during toggles.
0 commit comments