I am getting data from firestore then representing it using a custom component in react-native but the problem is that return function is getting compiled before I get the d