3 ms·
Hyperscript markup looks like a nice replacement for JSX. The source for hyperscript-react is 50 lines of code, including comments and empty lines, so it's fair
by thomasfl 9y ago
Hyperscript markup looks like a nice replacement for JSX. The source for hyperscript-react is 50 lines of code, including comments and empty lines, so it's fairly easy to learn:
https://github.com/mlmorg/react-hyperscript/blob/master/index.js https://github.com/mlmorg/react-hyperscript/blob/master/inde...
- Androider 9y agoTo me this looks much less readable than the equivalent JSX. JSX has been such a non-issue for me, it's extremely reliable and you can use all the new JS map/filters, loops, etc. instead of learning some half-finished template language.
- gyrgtyn 9y ago> learning half-finished template language javascript?
- blorenz 9y agoIt may be fairly easy to learn, but mentally evaluating context during usage will be the friction much akin to HAML.