4 ms·
I'm torn. On the one hand this seems far too clever for it's own good and in the same vein as coffeescript where it's really easy for you to write efficient &
by lexicality 10y ago
I'm torn.
On the one hand this seems far too clever for it's own good and in the same vein as coffeescript where it's really easy for you to write efficient & compact code which somehow turns into complete garbage when you try to read it two weeks later.
On the other hand it looks super neat, has 0 dependencies and looks like React but without requiring any kind of build system.
I think I might need to try it in a side project.
- jonahx 10y agoIf you're looking for a very small (~10K), dependency-free alternative to react, check out http://mithril.js.org/ http://mithril.js.org/, which is far more powerful and from which it seems this project has taken some inspiration (mount, props, and the general syntax are a few of the similarities I see).
- deleted 10y ago[deleted]
- spicyj 10y agoIf you like React but want to avoid a build system, you can always do var form = React.createFactory('form'); form({...}, ...); or var e = React.createElement; e('form', {...}, ...);
- pkstn 10y agoCheck out my other project as well: https://frzr.js.org https://frzr.js.org - it's quite similar but with a bit easier syntax :)