Skip to content

Commit 8b9496d

Browse files
authored
Update reference-glossary.md
1 parent 5a47ff1 commit 8b9496d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/docs/reference-glossary.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ class Welcome extends React.Component {
151151

152152
מפתחות צריכים להיות ייחודיים רק בין אלמנטים אחים באותו מערך. הם לא צריכים להיות ייחודיים על פני האפליקציה כולה או אפילו קומפוננטה אחת.
153153

154-
Don't pass something like `Math.random()` to keys. It is important that keys have a "stable identity" across re-renders so that React can determine when items are added, removed, or re-ordered. Ideally, keys should correspond to unique and stable identifiers coming from your data, such as `post.id`.
155-
156154
אל תעביר משהו כמו `Math.random()` למפתחות. חשוב שלמפתחות תהיה "זהות קבועה" על פני רינדורים מחדש כך ש-React תוכל לקבוע מתי פריטים מתווספים, מוסרים, או מאורגנים מחדש. באופן אידיאלי, מפתחות צריכים להתאים למזהים ייחודיים וקבועים שמקורם בנתונים שלכם, כגון `post.id`.
157155

158156
## [Refs](/docs/refs-and-the-dom.html) {#refs}

0 commit comments

Comments
 (0)