2 ms·
I totally get htmx. Just not hyperscript.
by projektfu 4y ago
I totally get htmx. Just not hyperscript.
- gedy 4y agoMy bad, yeah I don't see the value-add of that either.
- recursivedoubts 4y agothe idea with hyperscript is to provide a general, event oriented language that can be embedded cleanly directly in HTML normal on* attributes are fine, but they aren't general (e.g. htmx fires a bunch of events you might want to hook into, and you can't use normal on* attributes to cathc them) hyperscript also has a lot of features that are DOM oriented (e.g. query literals like <div.foo/>) certainly not everyone's cup of tea, but it dovetails nicely with htmx and fills a need for a general, event oriented scripting language to complement it