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: docs/rules/no-literals-in-template.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ description: disallow object, array, and function literals in template
15
15
16
16
This rule disallows object, array, and function literals in template `v-bind` directives.
17
17
These literals are created as new references on every rerender, which can cause the child component's watchers to trigger unnecessarily even when the object hasn't actually changed.
18
+
18
19
If the literal references a variable from a `v-for` directive or a scoped slot, it is ignored.
0 commit comments