YGReact never uses html , it uses JSX which hides the following: React.createElement('div') There is no issue of separtion of concerns because in the first place you never wrote html in js.Comment·Thread·Jan 21, 2016·1·Why are some developers against mixing HTML and JavaScript (as in React)?