score:1

you console it before the next render so the state isn't really updated yet... this will indicate the real state:

updatecontent = (value) => {
    this.setstate({ test: value },()=>{
        console.log(this.state.test);
    })
} 

Related Query

More Query from same tag