how to render data fecthed from firebase database in react-native functional components
问题 I'm getting data from firebase databse in console that look like this. [{ "isDonor": true, "name": "Nadi", "photo": "https://gre", "uid": "2ZE" }, { "email": "mmaz", "isDonor": true, "name": "Mz", "photo": "https://gra", "uid": "Cb" }] I want to create cards of each objects but how to accomplish that as data is fetched after some time? I want to render it like this Ihave checked other answres but they are mostly from class component. I have tried using useEffect hook but couldn't implement it