Iterating through keys of Immutable Map in React : <p>What is a good practice for handling iteration through an Immutable.js Map object? This works: </p>

<pre><code>{stocks.map((stock,key)=&gt;{
    return ( &lt;h3&gt;{key}&lt;/h3&gt; )
})}
</code></pre>

<p>but gives the warning in the console "warning.js:45 Warning: Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."</p>

<p>This has been discussed before, and this link suggests some strategies <a href="https://github.com/facebook/immutable-js/issues/667">https://github.com/facebook/immutable-js/issues/667</a> but they seem clunky to me. Like:</p>

<pre><code>posts.entrySeq().map(o =&gt; 
     &lt;Post value={o[1]} key={o[0]} /&gt;
)
</code></pre>

<p>works but is clunky feeling. Is there a more natural way of doing this?</p>
