Skip to content

Commit 2375daa

Browse files
committed
clarify keyed v-for rule in SG
1 parent 9e89f5e commit 2375daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/style-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ props: {
244244

245245
**Always use `key` with `v-for`.**
246246

247-
It's _always_ required on components, in order to maintain internal component state down the subtree. Even for elements though, it's a good practice to maintain predictable behavior, such as [object constancy](https://bost.ocks.org/mike/constancy/) in animations.
247+
`key` with `v-for` is _always_ required on components, in order to maintain internal component state down the subtree. Even for elements though, it's a good practice to maintain predictable behavior, such as [object constancy](https://bost.ocks.org/mike/constancy/) in animations.
248248

249249
{% raw %}
250250
<details>

0 commit comments

Comments
 (0)