So setzen Sie den ID Attr in einen Var in ReactJs

<input id={`question${qnum+1}_option1`}/>
Beautiful Boar