4 ms·
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
by keslag 11y ago
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"),
])
])
])
]);
};
- pygy_ 11y agoNot "attempting to fork", MSX is a JSX fork that outputs Mithril-compatible virtual DOM JS objects. It works as advertised :-)
- keslag 11y agoSince I've been called out twice on my use of language in this thread alone, I serious need an editor to proof my comments before I submit them from now on.