ReactJS Warning: Each child in an array or iterator should have a unique "key" prop
<pre><code>    var divArr = [
       '&lt;div&gt;布吉岛啊&lt;/div&gt;',
       '&lt;div&gt;呵呵呵&lt;/div&gt;',
    ];
    ReactDOM.render(
       &lt;div&gt;{divArr}&lt;/div&gt;,
       document.getElementById(&quot;example&quot;)
    );
</code></pre>
<p>but it's error:</p>
<blockquote>
    Warning: Each child in an array or iterator should have a unique "key" prop. Check the top-level render call using . See [warning-keys][1] for more information.
</blockquote>
<p>and I don't know how to insert the 'key'</p>