瀏覽代碼

Update x-for documentation (#2848)

* Update x-for documentation

* Make documentation more concise
Scott Francis 3 年之前
父節點
當前提交
70fb65d28d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/docs/src/en/directives/for.md

+ 1 - 1
packages/docs/src/en/directives/for.md

@@ -33,7 +33,7 @@ There are two rules worth noting about `x-for`:
 <a name="keys"></a>
 <a name="keys"></a>
 ## Keys
 ## Keys
 
 
-It is important to specify keys for each `x-for` iteration if you are going to be re-ordering items. Without dynamic keys, Alpine may have a hard time keeping track of what re-orders and will cause odd side-effects.
+It is important to specify unique keys for each `x-for` iteration if you are going to be re-ordering items. Without dynamic keys, Alpine may have a hard time keeping track of what re-orders and will cause odd side-effects.
 
 
 ```alpine
 ```alpine
 <ul x-data="{ colors: [
 <ul x-data="{ colors: [