Y
Hacker News
new
|
ask
|
show
|
jobs
by
divbzero
1414 days ago
Coincidentally, the same command can work for both Million [1] and Mithril [2]:
m('div', {id: 'box'}, ['hello'])
[1]:
https://millionjs.org/docs/api/basics/m
[2]:
https://mithril.js.org/hyperscript.html