I am new to React, have seen some of the similar issues, but didn’t find why this happens. I am getting an “Uncaught TypeError: this.state.data.map is not a function”. Here
Your initial data state is String., String does not have method .map, you need change your initial state from '' to []
data
String
.map
''
[]
this.state = { data: [] };