From 1bf8e83d4953454ceb05ecd6439984d66cddbbcd Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Mon, 4 Aug 2014 08:36:49 -0700 Subject: [PATCH] Wording tweaks to reconciliation docs --- docs/ref-08-reconciliation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref-08-reconciliation.md b/docs/ref-08-reconciliation.md index 1846c0a2..fbd342ef 100644 --- a/docs/ref-08-reconciliation.md +++ b/docs/ref-08-reconciliation.md @@ -116,7 +116,7 @@ renderB:
secondfirst [insertNode second] ``` -In practice, finding a key is not really hard. Most of the time, the element you are going to display already have a unique id. When it is not the case, you can hash some parts of the content to generate a key. Remember that the key only has to be unique among its sibling, not globally unique. +In practice, finding a key is not really hard. Most of the time, the element you are going to display already has a unique id. When that's not the case, you can add a new ID property to your model or hash some parts of the content to generate a key. Remember that the key only has to be unique among its siblings, not globally unique. ## Trade-offs