You are printing the textValue inside the _textchange function. The value doesn't change immediately. It will change the textValue after the whole function is executed completely.
componentDidUpdate() {
console.log(this.state.textValue)
}
Add this snipper inside your class. This method will be executed whenever the state in your component changes...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…