Skip to content

Commit d0494ac

Browse files
committed
Update ref-08-reconciliation.md
1 parent 5d288de commit d0494ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/ref-08-reconciliation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ renderB: <div><span key="second">second</span><span key="first">first</span></di
116116
=> [insertNode <span>second</span>]
117117
```
118118

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 an id. Remember that the id 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 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.
120120

121121

122122
## Trade-offs

0 commit comments

Comments
 (0)