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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -447,7 +447,7 @@ List of 300 VueJS Interview Questions
447
447
**[⬆ Back to Top](#table-of-contents)**
448
448
449
449
5. ### What is the difference between v-show and v-if directives?
450
-
Below are some of the main differences between between **v-show** and **v-if** directives,
450
+
Below are some of the main differences between **v-show** and **v-if** directives,
451
451
452
452
1. v-if only renders the element to the DOM if the expression passes whereas v-show renders all elements to the DOM and then uses the CSS display property to show/hide elements based on expression.
453
453
2. v-if supports v-else and v-else-if directives whereas v-show doesn't support else directives.
@@ -5008,4 +5008,4 @@ List of 300 VueJS Interview Questions
5008
5008
5009
5009
231. ### What is the best way to re-render a component?
5010
5010
The best way to force Vue to re-render a component is to set a `:key` on the component. i.e, Whenever the component to be re-rendered, just change the value of the key then Vue will re-render the component.
0 commit comments