adding int and string in react props

JavaScript
href={"#demo" + this.state.id}

Source

Also in JavaScript: