hey there i have a small question i have data base in firebase that look like that
{
0001: {
name : ....,
image: ....
},
0002: {
name: .... ,
image: ...
}
}
i want to use it with flat list but when i use object.values to transfer data i lost my id and also object.entries didnt give me anything Object.values(data); there is any way to create an array from this data like that ?
{id ,
name ,
image}
and put it in my flat list beacause i want when to click on a item open new windows and send that id
the id should be the key number 0001 0002 ......