Skip to content

Commit c254697

Browse files
authored
Merge pull request #225 from theteladras/patch-1
Update README.md
2 parents bf989f1 + bbb2a8a commit c254697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ Learn to code and get hired with <a href="https://zerotomastery.io/?utm_source=g
831831
832832
A `key` is a special string attribute you **should** include when creating arrays of elements. _Key_ prop helps React identify which items have changed, are added, or are removed.
833833
834-
Most often we use ID from our data as _key_:
834+
Keys should be unique among its siblings. Most often we use ID from our data as _key_:
835835
836836
```jsx harmony
837837
const todoItems = todos.map((todo) => <li key={todo.id}>{todo.text}</li>);

0 commit comments

Comments
 (0)