From 8e207b8c9db03a526715077beeb80e0a3ff2f3e4 Mon Sep 17 00:00:00 2001 From: Danny Guo Date: Sun, 5 Feb 2017 11:36:42 -0500 Subject: [PATCH] Fix no-array-index-key typo --- docs/rules/no-array-index-key.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-array-index-key.md b/docs/rules/no-array-index-key.md index ba0bde50c5..86eb2ac800 100644 --- a/docs/rules/no-array-index-key.md +++ b/docs/rules/no-array-index-key.md @@ -4,7 +4,7 @@ Warn if an element uses an Array index in its `key`. The `key` is used by React to [identify which items have changed, are added, or are removed and should be stable](https://facebook.github.io/react/docs/lists-and-keys.html#keys). -It's a bad idea to use the array index since it doesn't uniquely identify your elements. In cases where the array is sorted or an element is added to the beginning of the array, the index will be changed even though the element representing that index may be the same. This results in in unnecessary renders. +It's a bad idea to use the array index since it doesn't uniquely identify your elements. In cases where the array is sorted or an element is added to the beginning of the array, the index will be changed even though the element representing that index may be the same. This results in unnecessary renders. ## Rule Details