I am trying to use Fontello icons. To do this I need to set the innerHTML to be 
. However the &
keeps getting escaped and I dont want to use set html dangerously. Is there anyway to use this?
It says I can also use 0xe821
but I couldn't figure out how.
My code:
React.createClass({
render: function() {
return React.createElement('div', {}, '');
}});
You may use '\ue831'
instead. It defines a character directly in a string literal, so React does not need and will not escape it.