Async useState leading to undefined element down the hierarchy
问题 Setup/Scenario I am using twitter api to fetch data and rendering it in twitter card using react-native-socials. The tweet data ( JSON ) is stored and served through my backend and rendered in the app. I am using a Flatlist to render this data. Problem It's working fine for the first 3 loads, I am using pullToRefresh in flatlist to do a network call to get new data. But when I try the 4th time it gets an undefined element. I've replaced the Twitter element ( from react-native-socials lib )