score:4

Accepted answer
constructor(props){
   super(props)
   this.onSubmit = this.onSubmit.bind(this)
}

Related Query

More Query from same tag