I currently have a data set which is an array of objects. I'm using .map to list out a certain key in each object.
{
data.map(graph =>
<div key={graph.ID}>
<h2>{graph.name}</h2>
</div>
)
}
graph is a single object within the data. This prints out the name key for each object in the list. The thing I'm having trouble with now is listing out every single key in each object. Some objects in the list have more keys than others so I can't just list out each key manually. Does anyone know how to do that?