3 ms·
You could look into Mithril (a smaller React-like framework). It mixes JS and CSS syntax to achieve terseness, and it does so within the rules of valid javascri
by lhorie 12y ago
You could look into Mithril (a smaller React-like framework). It mixes JS and CSS syntax to achieve terseness, and it does so within the rules of valid javascript:
m(".form-group", [
m("input.form-control[placeholder='Name']")
])
- k__ 12y agoI think using m() with CoffeeScript or LiveScript results in much more concise code than React.DOM. with JSX. Well, you got to like semantically significant whitespace for this. On the other hand, Mithril offers something like JSX, so the <> and ; crowd should be happy.