Comment Comment by lerpapoo if this is about react then...xml inside javascript is for scrubs, just rename your createElement to 1 letter (mine is h) and use coffeescript lol.i also renamed my "className" to "cn" so i dont have to type it but i wouldn't recommend that. h 'div', cn: 'myclass' h 'span',{},"mytext" h 'span,{},"asd" parent lerpapoo 6 years ago
i also renamed my "className" to "cn" so i dont have to type it but i wouldn't recommend that.