Hacker News new | ask | show | jobs
by thomasfl 3203 days 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/inde...

2 comments

To 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.
> learning half-finished template language

javascript?

It may be fairly easy to learn, but mentally evaluating context during usage will be the friction much akin to HAML.