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
If your data is a string type then instead you must use this.state.data.split('').map(ch=>{ console.log('Hello from map') })
this.state.data.split('').map(ch=>{ console.log('Hello from map') })