On my ReactJS file, I JSON.stringify my object to see what i get.
return (
<div>
{ JSON.stringify(peopleChannel) };
</div>
)
I get return something like this
{
"Y3WJb6": {
"photoURL": "https://myimage.com",
"email": "abc.com"
},
"Yzfd6": {
"photoURL": "https://myimage23.com",
"email": "adfasfd.com"
}
}
How do I render it into like a list?
mapover theObject.valuesand extract the data you need and return a new array.JSON.parseit and iterate through as an object.