2 ms·
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. Fo
by fouc 5y ago
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-jsx/ https://mtsknn.fi/blog/hyperscript-hyperior-alternative-to-j...
https://dev.to/fromaline/hyperscript-the-hidden-language-of-react-3d1f https://dev.to/fromaline/hyperscript-the-hidden-language-of-...
- speg 5y agoYou are correct. Hyperscript.org is a companion library to htmx; they are totally different from the JSX Hyperscript.