How to get the key from object in
{this.state.data.map((object, index) => (
<div>object.key</div>
))}
For example if this.state.data was
[{mykey1:23},{mykey2:24},{mykey3:34}]
I would want it to return
<div>mykey1</div>
<div>mykey2</div>
<div>mykey3</div>
<div>23</div>)