diff --git a/src/guide/essentials/conditional.md b/src/guide/essentials/conditional.md index e33ac4d272..a1b507a6a7 100644 --- a/src/guide/essentials/conditional.md +++ b/src/guide/essentials/conditional.md @@ -110,8 +110,8 @@ Generally speaking, `v-if` has higher toggle costs while `v-show` has higher ini ## `v-if` with `v-for` {#v-if-with-v-for} +When `v-if` and `v-for` are both used on the same element, `v-if` will be evaluated first. See the [list rendering guide](list#v-for-with-v-if) for details. + ::: warning Note -It's **not** recommended to use `v-if` and `v-for` on the same element due to implicit precedence. Refer to [style guide](/style-guide/rules-essential#avoid-v-if-with-v-for) for details. +It's **not** recommended to use `v-if` and `v-for` on the same element due to implicit precedence. Refer to [list rendering guide](list#v-for-with-v-if) for details. ::: - -When `v-if` and `v-for` are both used on the same element, `v-if` will be evaluated first. See the [list rendering guide](list#v-for-with-v-if) for details. diff --git a/src/guide/essentials/list.md b/src/guide/essentials/list.md index 94800b697d..1baaf23ebc 100644 --- a/src/guide/essentials/list.md +++ b/src/guide/essentials/list.md @@ -223,10 +223,6 @@ Similar to template `v-if`, you can also use a `