Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Espresso.js – React Meets Backbone for a Minimal MVC. Parent comment
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().
There are no comments on this comment yet.
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().