Mithril.js: [rewrite] MSX like transformer for Mithril js 1.0

Created on 27 Nov 2016  路  3Comments  路  Source: MithrilJS/mithril.js

Description:

Hello

Are there any working transformer like MSX? I want to use Mithril 1.0 without dealing m("div")functions. MSX is not updated for 2 years.

Most helpful comment

You can use babel with a small annotation to have it replace things with m().

https://babeljs.io/docs/plugins/transform-react-jsx/#custom

All 3 comments

Have you tried? Because I find straight m() calls to be way better than MSX.

I tried both msx and m() unfortunately never get used to m() usage. It looks complicated to me.

You can use babel with a small annotation to have it replace things with m().

https://babeljs.io/docs/plugins/transform-react-jsx/#custom

Was this page helpful?
0 / 5 - 0 ratings

Related issues

volnei picture volnei  路  3Comments

andraaspar picture andraaspar  路  4Comments

isiahmeadows picture isiahmeadows  路  4Comments

designMoreWeb picture designMoreWeb  路  4Comments

barneycarroll picture barneycarroll  路  3Comments