Consider the following call to React.createElement
:
React.createElement('span', null, null, ['><',])
This will cause React to escape >
and <
. Is there some way to avoid this text being escaped?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…