concatenating variables and strings in react

Solutions on MaxInterview for concatenating variables and strings in react by the best coders in the world

showing results for - "concatenating variables and strings in react"
Robin
24 Apr 2016
1href={"#demo" + this.state.id}
2
3//You can also use ES6 string interpolation/template literals with 
4//` (backticks) and ${expr} (interpolated expression),
5
6href={`#demo${this.state.id}`}
7
8source
9https://stackoverflow.com/questions/39523040/concatenating-variables-and-strings-in-react
10