adding int and string in react props code example Example: adding int and string in react props href={"#demo" + this.state.id}