News for hackers. Stuff that matters.
Re:Show HN: Espresso.js – React Meets Backbone for a Minimal... by jacobr on Tuesday November 11, 2014 @03:44PM (#8592044)
React works fine without JSX. var DOM = React.DOM; DOM.div() etc.
Re:Show HN: Espresso.js – React Meets Backbone for a Minimal... by akrymski on Tuesday November 11, 2014 @04:40PM (#8592371)
Sure - but that's quite horrible to write. And moreover it requires a sophisticated virtual DOM diffing algo, hence the size of React's library.

I prefer to do this:

render: function() { return { view: { classList: { editing: this.model.editing, completed: this.model.done } } } }

Compared to outputting the entire HTML for the component in render().