how to loop with obejct in react js code example
Example: react js iterate object
<div className="iterate-object">
{
<ul>
{Object.keys(OBJECTHERE).map(function(keyName, keyIndex) {
return (
<li key={keyName}>
{keyName}
{console.log(OBJECTHERE[keyName])}
</li>
)
})}
</ul>
}
</div>