Skip to content

Commit

Permalink
fix: add vs dot unified writing paradigm (#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhousg committed Nov 5, 2022
1 parent 7826a01 commit 21eb384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/guide/essentials/computed.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ See also: [Typing Computed](/guide/typescript/composition-api.html#typing-comput

</div>

## Computed Caching vs Methods
## Computed Caching vs. Methods

You may have noticed we can achieve the same result by invoking a method in the expression:

Expand Down
2 changes: 1 addition & 1 deletion src/guide/essentials/conditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The difference is that an element with `v-show` will always be rendered and rema

`v-show` doesn't support the `<template>` element, nor does it work with `v-else`.

## `v-if` vs `v-show`
## `v-if` vs. `v-show`

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

Expand Down

0 comments on commit 21eb384

Please sign in to comment.