Closed q3e closed 7 years ago
fixed by changing the renderItem prop
data={responseData}
renderItem={({item}) => <Text >{item.node.nameWithOwner}</Text>}
/>
With his error, you are almost sure it's an issue with your export
or import
statements... e.g check any file you might have exported or default exported twice...
Try restarting your metro bundler .
I get this error when I import flatList into my react-native app. When I have FlatList as an import:
import { Text, FlatList } from 'react-native'
from the expo simulator screen
Something like this facebook/react-native#13558 and this https://github.com/facebook/react-native/issues/6035