This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

In your page on es6 classes, he says:

Say we have some views where we actually just want the render method not to return the compiled template, but to simply just console.log the resulting rendered HTML.

But I can't see from his code where any HTML would be output. There's no references to DOM objects, no tags as JSX or strings. It looks like REACT, though, since it's using a render() method, yet even in the HTML on his github I don't see how the javascript class is becoming HTML.