<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Each child in a list should have a unique &quot;key&quot; prop]]></title><description><![CDATA[<pre><code class="language-jsx">Each child in a list should have a unique "key" prop
</code></pre>
<p dir="auto"><strong>Пример</strong>:</p>
<pre><code class="language-jsx">{items.map(item =&gt; &lt;div&gt;{item.name}&lt;/div&gt;)}
</code></pre>
<p dir="auto"><strong>Решение</strong>: Добавить уникальный key:</p>
<pre><code class="language-jsx">{items.map(item =&gt; &lt;div key={item.id}&gt;{item.name}&lt;/div&gt;)}
</code></pre>
]]></description><link>https://forum.exlends.ru/topic/83/each-child-in-a-list-should-have-a-unique-key-prop</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 08:56:14 GMT</lastBuildDate><atom:link href="https://forum.exlends.ru/topic/83.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Feb 2025 08:03:55 GMT</pubDate><ttl>60</ttl></channel></rss>