I think the correct way to handle this is to always set a key. When I try to render some list items without a key I get this warning in the console:<p>Warning: Each child in an array or iterator should have a unique &quot;key&quot; prop. Check the render method of `YourComponent`. See <a href="https:&#x2F;&#x2F;fb.me&#x2F;react-warning-keys" rel="nofollow">https:&#x2F;&#x2F;fb.me&#x2F;react-warning-keys</a> for more information.