From a5fccdf494d3c2ce6732618bca894baa7d48e57b Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 15 Dec 2017 18:34:07 +0800 Subject: [PATCH] Specify a unique "key" prop for each child in an array --- examples/Default/index.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/Default/index.jsx b/examples/Default/index.jsx index 0e62d93..04e586c 100644 --- a/examples/Default/index.jsx +++ b/examples/Default/index.jsx @@ -40,7 +40,12 @@ export default class extends PureComponent { return ( {list.map((item, index) => ( - {item} + + {item} + ))} );