Furthermore, you can easily use JSX in Mithril the way you do in React, and in React you can also use the JavaScript syntax instead of JSX (e.g. React.DOM.div).
Reference: http://mithril.js.org/jsx.html
Reference: http://mithril.js.org/jsx.html
For a stateless component which is implemented as a pure function, where you would normally write:
In mithril you would write: So the same vein of thinking can take you pretty far, but the benefit is that everything is Javascript so there is less context switching between framework and language!EDIT: code snippet