Wording tweaks to reconciliation docs
Ben Alpert committed
Aug 4, 2014 at 08:36 UTC
e2dad02ef299a7c1c8528d5bcd357d8854106961
1 file changed
+1
-1
docs/docs/ref-08-reconciliation.md
+1
-1
@@ -116,7 +116,7 @@ renderB: <div><span key="second">second</span><span key="first">first</span></di
116
=> [insertNode <span>second</span>]
117
```
118
119
-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.
119
+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.
120
121
122
## Trade-offs