babel-plugin-mjsx
babel-plugin-mjsx copied to clipboard
Mithril precompilation JSX plugin for babel
It seems some change in babel caused unicode decoding to change. `"·"` (middot) ->` "\xB7"`
babel-plugin-mjsx does not seem to have the feature msx has: Passing attributes or children to a component will generate a call to Mithril's [`m.component()`](http://lhorie.github.io/mithril/mithril.component.html) function, with children always being passed...
Using the plugin with Mithril rewrite does not work https://github.com/lhorie/mithril.js/tree/rewrite Here is the first issue I found with the rewrite https://github.com/lhorie/mithril.js/blob/rewrite/render/render.js#L96 `vnode.tag` is undefined which mithril expects to be defined
This is a follow up of #8, add an option to allow whitespace. - [ ] Add option for ws saving - [ ] Add option to force "html" mode...