Re:Show HN: An Isomorphic JavaScript Framework Faster Than R...
by Meai on Tuesday May 26, 2015 @10:45AM
(#9605180)
What do you mean by "helper assisted javascript"? Can you give an example where this has caused problems for you?
I'm trying to decide between mithril and this library.
[ Parent
| on HN ]
Re:Show HN: An Isomorphic JavaScript Framework Faster Than R...
by keslag on Tuesday May 26, 2015 @11:20AM
(#9605391)
Sorry, poor word usage on my part. As vvpan more eloquently puts it, DOM construction via js functions. This is the example from their website. This is very difficult to maintain, and personally, I become very adverse to making changes. Though it appears vvpan has a link to a project attempting to fork(?) React's transformer to be usable in mithril.
todo.view = function() {
return m("html", [
m("body", [
m("input"),
m("button", "Add"),
m("table", [
m("tr", [
m("td", [
m("input[type=checkbox]")
]),
m("td", "task description"),
])
])
])
]);
};