Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/guide/migration/v-if-v-for.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ In 3.x, `v-if` will always have the higher precedence than `v-for`.
It is recommended to avoid using both on the same element due to the syntax ambiguity.

Rather than managing this at the template level, one method for accomplishing this is to create a computed property that filters out a list for the visible elements.

## See also

- [List Rendering - Displaying Filtered/Sorted Results](/guide/list.html#displaying-filtered-sorted-results)
- [List Rendering - `v-for` with `v-if`](/guide/list.html#v-for-with-v-if)