3 ms·
> Is the only difference really that Mithril has replaced "React.createComponent" with "m"? The Mithril `m()` was designed to be used as is rather than as a s
by pygy_ 11y ago
> Is the only difference really that Mithril has replaced "React.createComponent" with "m"?
The Mithril `m()` was designed to be used as is rather than as a serialization format.
It also understands `m("input.bar[type=date]")` which is handy, and the array for children elements is optional (`m(...)` is variadic) which makes it nicer in CoffeeScript-like languages.