Hacker News new | past | comments | ask | show | jobs | submit login

I'm confused. Hyperscript is supposed to be an alternative way to writing JSX, good for skipping the babel/transpile step. Such as the React h() function. For example:

    h('header', { id: 'my-header', className: 'header' },
      h('div', { className: 'logo' },
        h('a', { href: '/' }, 'mtsknn.fi')
      )
    )
Hyperscript.org doesn't seem to be related to this at all?

https://mtsknn.fi/blog/hyperscript-hyperior-alternative-to-j... https://dev.to/fromaline/hyperscript-the-hidden-language-of-...




You are correct. Hyperscript.org is a companion library to htmx; they are totally different from the JSX Hyperscript.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: