UNPKG

mreframe

Version:

A reagent/re-frame imitation that uses Mithril instead

7 lines (4 loc) 210 B
r = require './reagent' jsx = (tag, {children=[], ...attrs}, key) => # this API isn't documented properly... r.with {key, ...attrs}, [tag].concat(children) module.exports = {jsx, jsxs: jsx, Fragment: '<>'}